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.es6.js
diff --git
a/web/core/misc/dialog/dialog.jquery-ui.es6.js
b/web/core/misc/dialog/dialog.jquery-ui.es6.js
index f30489b28da237cdb5c7664a33aa6faffa3f3529..b7023e0afa903efb64735e03322a78f0ef4ae072 100644
(file)
--- a/
web/core/misc/dialog/dialog.jquery-ui.es6.js
+++ b/
web/core/misc/dialog/dialog.jquery-ui.es6.js
@@
-12,7
+12,6
@@
_createButtons() {
const opts = this.options;
let primaryIndex;
_createButtons() {
const opts = this.options;
let primaryIndex;
- let $buttons;
let index;
const il = opts.buttons.length;
for (index = 0; index < il; index++) {
let index;
const il = opts.buttons.length;
for (index = 0; index < il; index++) {
@@
-23,7
+22,7
@@
}
}
this._super();
}
}
this._super();
- $buttons = this.uiButtonSet.children().addClass(opts.buttonClass);
+
const
$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);
}