1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

remove pageContainer from widget

This commit is contained in:
Luke Pulverenti 2015-11-29 01:20:58 -05:00
parent 49b8dc28b5
commit 0f51a375ce
5 changed files with 168 additions and 416 deletions

View file

@ -99,7 +99,7 @@
_create: function () {
var el = this.element,
parentPage = el.closest(".ui-page, :jqmData(role='page')");
parentPage = el.closest(".ui-page, [data-role='page']");
// expose some private props to other methods
$.extend(this, {
@ -315,7 +315,7 @@
}
// Clean up open panels after page hide
if (self._parentPage) {
this.document.on("pagehide", ":jqmData(role='page')", function () {
this.document.on("pagehide", "[data-role='page']", function () {
if (self._open) {
self.close(true);
}