X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmisc%2Fdialog%2Fdialog.jquery-ui.js;fp=web%2Fcore%2Fmisc%2Fdialog%2Fdialog.jquery-ui.js;h=246855c96df95f7c262df5e802538dd5a4810d10;hp=02c1d5b7dede77d3b91d58892248e3e470ac94af;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/misc/dialog/dialog.jquery-ui.js b/web/core/misc/dialog/dialog.jquery-ui.js index 02c1d5b7d..246855c96 100644 --- a/web/core/misc/dialog/dialog.jquery-ui.js +++ b/web/core/misc/dialog/dialog.jquery-ui.js @@ -14,7 +14,6 @@ _createButtons: function _createButtons() { var opts = this.options; var primaryIndex = void 0; - var $buttons = void 0; var index = void 0; var il = opts.buttons.length; for (index = 0; index < il; index++) { @@ -25,7 +24,7 @@ } } this._super(); - $buttons = this.uiButtonSet.children().addClass(opts.buttonClass); + var $buttons = this.uiButtonSet.children().addClass(opts.buttonClass); if (typeof primaryIndex !== 'undefined') { $buttons.eq(index).addClass(opts.buttonPrimaryClass); }