Flush are rebuild web view queue when suspending and restoring the app. Issue #1563

This commit is contained in:
Maurice Parker
2020-02-04 16:00:26 -08:00
parent 8ed9958631
commit dfd6be5fa6
6 changed files with 114 additions and 41 deletions

View File

@@ -156,3 +156,7 @@ function stopMediaPlayback() {
element.pause();
});
}
window.addEventListener('DOMContentLoaded', (event) => {
window.webkit.messageHandlers.domContentLoaded.postMessage("");
});