aboutsummaryrefslogtreecommitdiff
path: root/app/src/web
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-04-02 23:34:49 -0400
committerAllan Wang <me@allanwang.ca>2019-04-02 23:34:49 -0400
commitc3ad96af1db7b457005b13f693ee855bbbc7a80b (patch)
treed1ede75b5b2383852bb2a27330bff87c26be4467 /app/src/web
parentd2fc0356ad90645a772876d60dcf80f3ec869d39 (diff)
downloadfrost-c3ad96af1db7b457005b13f693ee855bbbc7a80b.tar.gz
frost-c3ad96af1db7b457005b13f693ee855bbbc7a80b.tar.bz2
frost-c3ad96af1db7b457005b13f693ee855bbbc7a80b.zip
Show header when not jewel nav
Diffstat (limited to 'app/src/web')
-rw-r--r--app/src/web/assets/js/header_hider.js12
-rw-r--r--app/src/web/assets/js/header_hider.ts17
2 files changed, 0 insertions, 29 deletions
diff --git a/app/src/web/assets/js/header_hider.js b/app/src/web/assets/js/header_hider.js
deleted file mode 100644
index faa9f66d..00000000
--- a/app/src/web/assets/js/header_hider.js
+++ /dev/null
@@ -1,12 +0,0 @@
-"use strict";
-(function () {
- var header = document.querySelector('#header');
- if (!header) {
- return;
- }
- var jewel = header.querySelector('#mJewelNav');
- if (!jewel) {
- return;
- }
- header.style.display = 'none';
-}).call(undefined);
diff --git a/app/src/web/assets/js/header_hider.ts b/app/src/web/assets/js/header_hider.ts
deleted file mode 100644
index 1a8f27f2..00000000
--- a/app/src/web/assets/js/header_hider.ts
+++ /dev/null
@@ -1,17 +0,0 @@
-(function () {
- const header = document.querySelector('#header');
-
- if (!header) {
- return
- }
-
- const jewel = header.querySelector('#mJewelNav');
-
- if (!jewel) {
- return
- }
-
- (<HTMLElement>header).style.display = 'none'
-}).call(undefined);
-
-