mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 18:08:17 -07:00
Merge pull request #1734 from dmitrylyzo/fix-plugin-configuration
Fix injecting of view with embedded script
This commit is contained in:
commit
6607718edb
@ -54,8 +54,8 @@ import 'css!components/viewManager/viewContainer';
|
||||
|
||||
if (currentPage) {
|
||||
if (newViewInfo.hasScript && window.$) {
|
||||
view = $(view).appendTo(mainAnimatedPages)[0];
|
||||
mainAnimatedPages.removeChild(currentPage);
|
||||
view = $(view).appendTo(mainAnimatedPages)[0];
|
||||
} else {
|
||||
mainAnimatedPages.replaceChild(view, currentPage);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user