mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
continue jquery removal
This commit is contained in:
parent
1fba8135db
commit
3128b05f14
15 changed files with 115 additions and 103 deletions
|
@ -1,4 +1,7 @@
|
|||
$.fn.buttonEnabled = function (enabled) {
|
||||
define(['jQuery'], function ($) {
|
||||
|
||||
return enabled ? this.attr('disabled', '').removeAttr('disabled') : this.attr('disabled', 'disabled');
|
||||
};
|
||||
$.fn.buttonEnabled = function (enabled) {
|
||||
|
||||
return enabled ? this.attr('disabled', '').removeAttr('disabled') : this.attr('disabled', 'disabled');
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue