mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
jqm fixes
This commit is contained in:
parent
4da1e38cc5
commit
d854092d88
3 changed files with 6 additions and 6 deletions
|
@ -412,7 +412,7 @@
|
|||
eventName = match[1] + instance.eventNamespace,
|
||||
selector = match[2];
|
||||
if (selector) {
|
||||
delegateElement.delegate(selector, eventName, handlerProxy);
|
||||
delegateElement.on(eventName, selector, handlerProxy);
|
||||
} else {
|
||||
element.on(eventName, handlerProxy);
|
||||
}
|
||||
|
@ -421,7 +421,7 @@
|
|||
|
||||
_off: function (element, eventName) {
|
||||
eventName = (eventName || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace;
|
||||
element.unbind(eventName).undelegate(eventName);
|
||||
element.off(eventName).off(eventName);
|
||||
},
|
||||
|
||||
_trigger: function (type, event, data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue