aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/frontpage.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-12-14 12:38:27 +0100
committerNoah Loomans <noahloomans@gmail.com>2016-12-14 12:38:27 +0100
commit819f3dd2088777c4d84a707b4bd62559382f36f5 (patch)
tree6682553cad124471388ec5f84cf6d54a57b31ea3 /public/javascripts/frontpage.js
parent900366c6d623fde54223f93930d28a84264cbb46 (diff)
fix ie input event
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