mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add timeout for polyfilled CustomElements (webOS 1.2)
This commit is contained in:
parent
f7d0b94916
commit
eccaad366e
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue