From 6db7fbac0f56cc5df5a37a1e793c13fc640a96c7 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 5 Feb 2020 17:55:04 +0100 Subject: [PATCH] lint --- www/common/common-interface.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index 7cb257b87..2dd2a9e85 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -600,7 +600,7 @@ define([ }; UI.confirmButton = function (originalBtn, config, _cb) { config = config || {}; - cb = Util.once(Util.mkAsync(_cb)); + var cb = Util.once(Util.mkAsync(_cb)); var classes = 'btn ' + (config.classes || 'btn-primary');