projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[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 b7023e0afa903efb64735e03322a78f0ef4ae072..de1140551a8b3d5d08d0b50df4faec2b6391542e 100644
(file)
--- a/
web/core/misc/dialog/dialog.jquery-ui.es6.js
+++ b/
web/core/misc/dialog/dialog.jquery-ui.es6.js
@@
-3,7
+3,7
@@
* Adds default classes to buttons for styling purposes.
*/
* Adds default classes to buttons for styling purposes.
*/
-(function
($) {
+(function($) {
$.widget('ui.dialog', $.ui.dialog, {
options: {
buttonClass: 'button',
$.widget('ui.dialog', $.ui.dialog, {
options: {
buttonClass: 'button',
@@
-15,7
+15,10
@@
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++) {
- if (opts.buttons[index].primary && opts.buttons[index].primary === true) {
+ if (
+ opts.buttons[index].primary &&
+ opts.buttons[index].primary === true
+ ) {
primaryIndex = index;
delete opts.buttons[index].primary;
break;
primaryIndex = index;
delete opts.buttons[index].primary;
break;
@@
-28,4
+31,4
@@
}
},
});
}
},
});
-}
(jQuery)
);
+}
)(jQuery
);