mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
6 lines
No EOL
215 B
JavaScript
6 lines
No EOL
215 B
JavaScript
define(["jQuery"], function($) {
|
|
"use strict";
|
|
$.fn.buttonEnabled = function(enabled) {
|
|
return enabled ? this.attr("disabled", "").removeAttr("disabled") : this.attr("disabled", "disabled")
|
|
}
|
|
}); |