summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2023-01-02 12:03:23 +0200
committerTor Lillqvist <tml@collabora.com>2023-01-02 12:03:23 +0200
commitc11b3c6f4c9573d5c48386d2ccd856f429b253ae (patch)
treeaa6d1ef2108146434483b9489726f155a7856374
parentI get "warning: unsupported syscall: __sys_prlimit64" in WASM so avoid that (diff)
downloadonline-c11b3c6f4c9573d5c48386d2ccd856f429b253ae.tar.gz
online-c11b3c6f4c9573d5c48386d2ccd856f429b253ae.zip
Hardcode window.userInterfaceMode to notebookbar for EMSCRIPTENAPP for now
Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: I79611e982de2d49b125d7c887081385c6597a028
-rw-r--r--browser/html/cool.html.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/browser/html/cool.html.m4 b/browser/html/cool.html.m4
index 237a2a3216..23ab5ea17d 100644
--- a/browser/html/cool.html.m4
+++ b/browser/html/cool.html.m4
@@ -382,6 +382,9 @@ m4_ifelse(IOSAPP,[true],
m4_ifelse(ANDROIDAPP,[true],
[window.userInterfaceMode = window.getParameterByName('userinterfacemode');])
+m4_ifelse(EMSCRIPTENAPP,[true],
+ [window.userInterfaceMode = 'notebookbar';])
+
// Dynamically load the appropriate *-mobile.css, *-tablet.css or *-desktop.css
var link = document.createElement('link');
link.setAttribute("rel", "stylesheet");