aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/frontpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/frontpage.js')
-rw-r--r--public/javascripts/frontpage.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/javascripts/frontpage.js b/public/javascripts/frontpage.js
index d789045..17cb539 100644
--- a/public/javascripts/frontpage.js
+++ b/public/javascripts/frontpage.js
@@ -1,3 +1,5 @@
+const browserFixToolkit = require('./browserFixToolkit')
+
const self = {}
self._nodes = {
@@ -16,6 +18,6 @@ self.hide = function () {
self.isShown = false
}
-self._nodes.input.addEventListener('input', self.hide)
+self._nodes.input.addEventListener(browserFixToolkit.inputEvent, self.hide)
module.exports = self