aboutsummaryrefslogtreecommitdiff
path: root/public/javascripts/search.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/javascripts/search.js')
-rw-r--r--public/javascripts/search.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/public/javascripts/search.js b/public/javascripts/search.js
index d1a49e2..8ae3043 100644
--- a/public/javascripts/search.js
+++ b/public/javascripts/search.js
@@ -3,6 +3,7 @@
const EventEmitter = require('events')
const fuzzy = require('fuzzy')
const autocomplete = require('./autocomplete')
+const browserFixToolkit = require('./browserFixToolkit')
const self = new EventEmitter()
@@ -73,6 +74,7 @@ autocomplete.on('select', self.submit)
self._nodes.search.addEventListener('submit', self._handleSubmit)
self._nodes.input.addEventListener('focus', self._handleFocus)
self._nodes.input.addEventListener('blur', self._handleBlur)
-self._nodes.input.addEventListener('input', self._handleTextUpdate)
+self._nodes.input.addEventListener(browserFixToolkit.inputEvent,
+ self._handleTextUpdate)
module.exports = self