aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/assets/js/header_badges.js
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2017-06-19 15:31:10 -0700
committerAllan Wang <me@allanwang.ca>2017-06-19 15:31:10 -0700
commit382433780c3f4403723a78e409cb161c9fad5034 (patch)
tree1138696bdd6e04d2227acaa4ab19ee8b85b4d2f8 /app/src/main/assets/js/header_badges.js
parent0720413ee859762fc4c2d8748ba10402dffd0be7 (diff)
downloadfrost-382433780c3f4403723a78e409cb161c9fad5034.tar.gz
frost-382433780c3f4403723a78e409cb161c9fad5034.tar.bz2
frost-382433780c3f4403723a78e409cb161c9fad5034.zip
Parse header badges
Diffstat (limited to 'app/src/main/assets/js/header_badges.js')
-rw-r--r--app/src/main/assets/js/header_badges.js3
1 files changed, 3 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);