mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
7 lines
206 B
JavaScript
7 lines
206 B
JavaScript
define(['jQuery'], function ($) {
|
|
|
|
$.fn.buttonEnabled = function (enabled) {
|
|
|
|
return enabled ? this.attr('disabled', '').removeAttr('disabled') : this.attr('disabled', 'disabled');
|
|
};
|
|
}); |