jellyfin-web/src/legacy/fnchecked.js
Erwin de Haan 4678528d00 First separation commit.
Added LICENSE, README.md, CONTRIBUTORS.md
2019-01-09 12:36:54 +01:00

10 lines
307 B
JavaScript

define(["jQuery"], function($) {
"use strict";
$.fn.checked = function(value) {
return !0 === value || !1 === value ? $(this).each(function() {
this.checked = value
}) : this.length && this[0].checked
}, $.fn.checkboxradio = function() {
return this
}
});