From 31db0b4ea7a232dd22d96b2dd9a7dbddeaef841a Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 21 Jan 2019 22:48:28 +0100 Subject: Mobile awareness in UI panels. --- html/display_panel/content/display-panel.html | 1 + html/mobile.js | 1 + html/preferences_panel/preferences_panel.html | 1 + 3 files changed, 3 insertions(+) create mode 100644 html/mobile.js diff --git a/html/display_panel/content/display-panel.html b/html/display_panel/content/display-panel.html index 80f4cb9..0e4df97 100644 --- a/html/display_panel/content/display-panel.html +++ b/html/display_panel/content/display-panel.html @@ -28,6 +28,7 @@ * */ --> + diff --git a/html/mobile.js b/html/mobile.js new file mode 100644 index 0000000..67930ae --- /dev/null +++ b/html/mobile.js @@ -0,0 +1 @@ +window.isMobile = !("windows" in browser); diff --git a/html/preferences_panel/preferences_panel.html b/html/preferences_panel/preferences_panel.html index 70d3b86..3a0ad7a 100644 --- a/html/preferences_panel/preferences_panel.html +++ b/html/preferences_panel/preferences_panel.html @@ -29,6 +29,7 @@ LibreJS preferences + -- cgit v1.2.3