From 80cd3e208a991376cedbb52cd66fbf7edafe8eed Mon Sep 17 00:00:00 2001 From: ansuz Date: Wed, 24 Jan 2018 11:35:05 +0100 Subject: [PATCH] lint compliance --- www/common/common-interface.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/common-interface.js b/www/common/common-interface.js index bd062a1bc..f35b361ba 100644 --- a/www/common/common-interface.js +++ b/www/common/common-interface.js @@ -112,12 +112,12 @@ define([ }; dialog.okButton = function (content, classString) { - var sel = typeof(classString) === 'string'? 'button.ok.' + classString:'button.ok.primary' + var sel = typeof(classString) === 'string'? 'button.ok.' + classString:'button.ok.primary'; return h(sel, { tabindex: '2', }, content || Messages.okButton); }; dialog.cancelButton = function (content, classString) { - var sel = typeof(classString) === 'string'? 'button.' + classString:'button.cancel' + var sel = typeof(classString) === 'string'? 'button.' + classString:'button.cancel'; return h(sel, { tabindex: '1'}, content || Messages.cancelButton); };