1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/src/legacy/fnchecked.js
2020-05-04 12:44:12 +02:00

12 lines
317 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;
};
});