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
|
@ -404,7 +404,7 @@ var Dashboard = {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options.forceShow) {
|
if (options.forceShow) {
|
||||||
elem.slideDown(400);
|
elem.show();
|
||||||
}
|
}
|
||||||
|
|
||||||
elem.html(options.html);
|
elem.html(options.html);
|
||||||
|
@ -427,7 +427,7 @@ var Dashboard = {
|
||||||
setTimeout(function () { // give the DOM time to catch up
|
setTimeout(function () { // give the DOM time to catch up
|
||||||
|
|
||||||
if (!parentElem.html()) {
|
if (!parentElem.html()) {
|
||||||
footer.slideUp();
|
footer.hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
}, 50);
|
}, 50);
|
||||||
|
|
|
@ -912,7 +912,7 @@
|
||||||
// remove nav bindings
|
// remove nav bindings
|
||||||
this.window.off(currentOptions.closeEvents);
|
this.window.off(currentOptions.closeEvents);
|
||||||
// unbind click handlers added when history is disabled
|
// unbind click handlers added when history is disabled
|
||||||
this.element.undelegate(currentOptions.closeLinkSelector, currentOptions.closeLinkEvents);
|
this.element.off(currentOptions.closeLinkEvents, currentOptions.closeLinkSelector);
|
||||||
|
|
||||||
this._close(immediate);
|
this._close(immediate);
|
||||||
},
|
},
|
||||||
|
@ -955,7 +955,7 @@
|
||||||
// back link clicks so we can close the popup instead of
|
// back link clicks so we can close the popup instead of
|
||||||
// relying on history to do it for us
|
// relying on history to do it for us
|
||||||
self.element
|
self.element
|
||||||
.delegate(currentOptions.closeLinkSelector, currentOptions.closeLinkEvents, function (theEvent) {
|
.on(currentOptions.closeLinkEvents, currentOptions.closeLinkSelector, function (theEvent) {
|
||||||
self.close();
|
self.close();
|
||||||
theEvent.preventDefault();
|
theEvent.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
|
@ -412,7 +412,7 @@
|
||||||
eventName = match[1] + instance.eventNamespace,
|
eventName = match[1] + instance.eventNamespace,
|
||||||
selector = match[2];
|
selector = match[2];
|
||||||
if (selector) {
|
if (selector) {
|
||||||
delegateElement.delegate(selector, eventName, handlerProxy);
|
delegateElement.on(eventName, selector, handlerProxy);
|
||||||
} else {
|
} else {
|
||||||
element.on(eventName, handlerProxy);
|
element.on(eventName, handlerProxy);
|
||||||
}
|
}
|
||||||
|
@ -421,7 +421,7 @@
|
||||||
|
|
||||||
_off: function (element, eventName) {
|
_off: function (element, eventName) {
|
||||||
eventName = (eventName || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace;
|
eventName = (eventName || "").split(" ").join(this.eventNamespace + " ") + this.eventNamespace;
|
||||||
element.unbind(eventName).undelegate(eventName);
|
element.off(eventName).off(eventName);
|
||||||
},
|
},
|
||||||
|
|
||||||
_trigger: function (type, event, data) {
|
_trigger: function (type, event, data) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue