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:
parent
294281602e
commit
ad38cf4783
17 changed files with 154 additions and 138 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue