mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix semicolons and throw error in ESLint if missing
This commit is contained in:
parent
b6ff7f62dd
commit
cb1b8aa3a9
29 changed files with 128 additions and 128 deletions
|
@ -2,19 +2,19 @@ Dashboard.confirm = function(message, title, callback) {
|
|||
"use strict";
|
||||
require(["confirm"], function(confirm) {
|
||||
confirm(message, title).then(function() {
|
||||
callback(!0)
|
||||
callback(!0);
|
||||
}, function() {
|
||||
callback(!1)
|
||||
})
|
||||
})
|
||||
callback(!1);
|
||||
});
|
||||
});
|
||||
}, Dashboard.showLoadingMsg = function() {
|
||||
"use strict";
|
||||
require(["loading"], function(loading) {
|
||||
loading.show()
|
||||
})
|
||||
loading.show();
|
||||
});
|
||||
}, Dashboard.hideLoadingMsg = function() {
|
||||
"use strict";
|
||||
require(["loading"], function(loading) {
|
||||
loading.hide()
|
||||
})
|
||||
loading.hide();
|
||||
});
|
||||
};
|
||||
|
|
|
@ -2,9 +2,9 @@ define(["jQuery"], function($) {
|
|||
"use strict";
|
||||
$.fn.checked = function(value) {
|
||||
return !0 === value || !1 === value ? $(this).each(function() {
|
||||
this.checked = value
|
||||
}) : this.length && this[0].checked
|
||||
this.checked = value;
|
||||
}) : this.length && this[0].checked;
|
||||
}, $.fn.checkboxradio = function() {
|
||||
return this
|
||||
}
|
||||
return this;
|
||||
};
|
||||
});
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
define(["jQuery"], function($) {
|
||||
"use strict";
|
||||
$.fn.selectmenu = function() {
|
||||
return this
|
||||
}
|
||||
return this;
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue