aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/assets/js')
-rw-r--r--app/src/main/assets/js/header_hider.coffee11
-rw-r--r--app/src/main/assets/js/header_hider.js19
2 files changed, 30 insertions, 0 deletions
diff --git a/app/src/main/assets/js/header_hider.coffee b/app/src/main/assets/js/header_hider.coffee
new file mode 100644
index 00000000..40510c79
--- /dev/null
+++ b/app/src/main/assets/js/header_hider.coffee
@@ -0,0 +1,11 @@
+header = document.querySelector('#header')
+
+if !header
+ return
+
+jewel = header.querySelector('#mJewelNav')
+
+if !jewel
+ return
+
+header.style.display = 'none' \ No newline at end of file
diff --git a/app/src/main/assets/js/header_hider.js b/app/src/main/assets/js/header_hider.js
new file mode 100644
index 00000000..f29887ee
--- /dev/null
+++ b/app/src/main/assets/js/header_hider.js
@@ -0,0 +1,19 @@
+'use strict';
+
+(function () {
+ var header, jewel;
+
+ header = document.querySelector('#header');
+
+ if (!header) {
+ return;
+ }
+
+ jewel = header.querySelector('#mJewelNav');
+
+ if (!jewel) {
+ return;
+ }
+
+ header.style.display = 'none';
+}).call(undefined); \ No newline at end of file