diff options
author | Allan Wang <me@allanwang.ca> | 2017-06-19 15:31:10 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2017-06-19 15:31:10 -0700 |
commit | 382433780c3f4403723a78e409cb161c9fad5034 (patch) | |
tree | 1138696bdd6e04d2227acaa4ab19ee8b85b4d2f8 /app/src/main/assets/js | |
parent | 0720413ee859762fc4c2d8748ba10402dffd0be7 (diff) | |
download | frost-382433780c3f4403723a78e409cb161c9fad5034.tar.gz frost-382433780c3f4403723a78e409cb161c9fad5034.tar.bz2 frost-382433780c3f4403723a78e409cb161c9fad5034.zip |
Parse header badges
Diffstat (limited to 'app/src/main/assets/js')
-rw-r--r-- | app/src/main/assets/js/header_badges.js | 3 | ||||
-rw-r--r-- | app/src/main/assets/js/header_badges.min.js | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app/src/main/assets/js/header_badges.js b/app/src/main/assets/js/header_badges.js new file mode 100644 index 00000000..26315a5f --- /dev/null +++ b/app/src/main/assets/js/header_badges.js @@ -0,0 +1,3 @@ +//bases the header contents if it exists +var header = document.getElementById('mJewelNav'); +if (header !== null) Frost.handleHeader(header.outerHTML); diff --git a/app/src/main/assets/js/header_badges.min.js b/app/src/main/assets/js/header_badges.min.js new file mode 100644 index 00000000..9526474d --- /dev/null +++ b/app/src/main/assets/js/header_badges.min.js @@ -0,0 +1,3 @@ +var header=document.getElementById("mJewelNav") + +;null!==header&&Frost.handleHeader(header.outerHTML);
\ No newline at end of file |