diff options
author | Allan Wang <me@allanwang.ca> | 2019-04-02 23:34:49 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-04-02 23:34:49 -0400 |
commit | c3ad96af1db7b457005b13f693ee855bbbc7a80b (patch) | |
tree | d1ede75b5b2383852bb2a27330bff87c26be4467 /app/src/web | |
parent | d2fc0356ad90645a772876d60dcf80f3ec869d39 (diff) | |
download | frost-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.js | 12 | ||||
-rw-r--r-- | app/src/web/assets/js/header_hider.ts | 17 |
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); - - |