From 65333c24b9e7d147920c021c7c7ed39d053b2526 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Sun, 14 Jun 2020 15:43:08 +0100 Subject: [PATCH] [bug] fix edge rendering on page load --- src/js/edge.js | 7 ++++++- src/js/init.js | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/js/edge.js b/src/js/edge.js index 3694b74e..7ae4ccd6 100644 --- a/src/js/edge.js +++ b/src/js/edge.js @@ -133,12 +133,17 @@ var edge = (function() { } }; + var init = function() { + box.close(); + }; + // exposed methods return { mod: mod, bind: bind, render: render, - box: box + box: box, + init: init }; })(); diff --git a/src/js/init.js b/src/js/init.js index 247847da..d7a9fd4d 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -19,5 +19,6 @@ background.init(); modal.init(); shade.init(); dropdown.init(); +edge.init(); version.init(); ready.init();