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

update access denied exceptions

This commit is contained in:
Luke Pulverenti 2015-09-25 22:31:13 -04:00
parent 294281602e
commit ad38cf4783
17 changed files with 154 additions and 138 deletions

View file

@ -3193,10 +3193,13 @@ $.widget( "mobile.page", {
if (from) {
from[0].style.display = 'none';
//var pages = document.querySelectorAll("div[data-role='page']");
//for (var i = 0, length = pages.length; i < length; i++) {
// pages[i].style.display = 'none';
//}
var pages = this.element[0].childNodes;
for (var i = 0, length = pages.length; i < length; i++) {
var pg = pages[i];
if (pg.getAttribute && pg.getAttribute('data-role') == 'page') {
pg.style.display = 'none';
}
}
}
var toPage = to[0];