jellyfin-web/dashboard-ui/legacy/buttonenabled.js

1 line
179 B
JavaScript
Raw Normal View History

2017-01-27 20:16:59 -07:00
define(["jQuery"],function($){"use strict";$.fn.buttonEnabled=function(enabled){return enabled?this.attr("disabled","").removeAttr("disabled"):this.attr("disabled","disabled")}});