projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
web
/
core
/
misc
/
dialog
/
dialog.jquery-ui.js
diff --git
a/web/core/misc/dialog/dialog.jquery-ui.js
b/web/core/misc/dialog/dialog.jquery-ui.js
index 02c1d5b7dede77d3b91d58892248e3e470ac94af..246855c96df95f7c262df5e802538dd5a4810d10 100644
(file)
--- 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;
_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++) {
var index = void 0;
var il = opts.buttons.length;
for (index = 0; index < il; index++) {
@@
-25,7
+24,7
@@
}
}
this._super();
}
}
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);
}
if (typeof primaryIndex !== 'undefined') {
$buttons.eq(index).addClass(opts.buttonPrimaryClass);
}