From 33818cdc933f3cb44454bd6e8a08d9c3ebd48d85 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 3 Jun 2020 16:41:53 +0200 Subject: [PATCH] Fix 'empty drive' button in anon drives --- www/drive/inner.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index 5a7b86687..d5380b8d0 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -257,7 +257,7 @@ define([ icon: 'fa-ban', tippy: Messages.fm_burnThisDriveButton, drawer: false - }).click(function () { + }, function () { UI.confirm(Messages.fm_burnThisDrive, function (yes) { if (!yes) { return; } common.getSframeChannel().event('EV_BURN_ANON_DRIVE');