mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 11:28:23 -07:00
4 lines
155 B
JavaScript
4 lines
155 B
JavaScript
$.fn.buttonEnabled = function (enabled) {
|
|
|
|
return enabled ? this.attr('disabled', '').removeAttr('disabled') : this.attr('disabled', 'disabled');
|
|
}; |