mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-19 20:08:20 -07:00
Add timeout for polyfilled CustomElements (webOS 1.2)
This commit is contained in:
parent
f7d0b94916
commit
eccaad366e
@ -82,7 +82,8 @@ import 'css!components/viewManager/viewContainer';
|
||||
}
|
||||
|
||||
allPages[pageIndex] = view;
|
||||
setControllerClass(view, options).then(() => {
|
||||
// Timeout for polyfilled CustomElements (webOS 1.2)
|
||||
setControllerClass(view, options).then(() => new Promise((resolve) => setTimeout(resolve, 0))).then(() => {
|
||||
if (onBeforeChange) {
|
||||
onBeforeChange(view, false, options);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user