* Adds default classes to buttons for styling purposes.
*/
-(function ($) {
+(function($) {
$.widget('ui.dialog', $.ui.dialog, {
options: {
buttonClass: 'button',
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;
}
},
});
-}(jQuery));
+})(jQuery);