mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
continue jquery removal
This commit is contained in:
parent
1fba8135db
commit
3128b05f14
15 changed files with 115 additions and 103 deletions
|
@ -76,7 +76,7 @@ define(['browser'], function (browser) {
|
|||
}
|
||||
|
||||
if (currentPage) {
|
||||
if (newViewInfo.hasScript) {
|
||||
if (newViewInfo.hasScript && window.$) {
|
||||
// TODO: figure this out without jQuery
|
||||
view = $(view).appendTo(mainAnimatedPages)[0];
|
||||
mainAnimatedPages.removeChild(currentPage);
|
||||
|
@ -84,7 +84,7 @@ define(['browser'], function (browser) {
|
|||
mainAnimatedPages.replaceChild(view, currentPage);
|
||||
}
|
||||
} else {
|
||||
if (newViewInfo.hasScript) {
|
||||
if (newViewInfo.hasScript && window.$) {
|
||||
// TODO: figure this out without jQuery
|
||||
view = $(view).appendTo(mainAnimatedPages)[0];
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue