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); };