aboutsummaryrefslogtreecommitdiff
path: root/app/src/web/assets/js/header_badges.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/web/assets/js/header_badges.ts')
-rw-r--r--app/src/web/assets/js/header_badges.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/src/web/assets/js/header_badges.ts b/app/src/web/assets/js/header_badges.ts
new file mode 100644
index 00000000..473749f2
--- /dev/null
+++ b/app/src/web/assets/js/header_badges.ts
@@ -0,0 +1,7 @@
+// Fetches the header contents if it exists
+(function() {
+ const header = document.getElementById('mJewelNav');
+ if (header) {
+ Frost.handleHeader(header.outerHTML);
+ }
+}).call(undefined);