jellyfin-web/dashboard-ui/legacy/buttonenabled.js
2017-01-27 22:16:59 -05:00

1 line
179 B
JavaScript

define(["jQuery"],function($){"use strict";$.fn.buttonEnabled=function(enabled){return enabled?this.attr("disabled","").removeAttr("disabled"):this.attr("disabled","disabled")}});