diff options
author | Noah Loomans <noahloomans@gmail.com> | 2016-12-14 12:38:27 +0100 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2016-12-14 12:38:27 +0100 |
commit | 819f3dd2088777c4d84a707b4bd62559382f36f5 (patch) | |
tree | 6682553cad124471388ec5f84cf6d54a57b31ea3 /public/javascripts/search.js | |
parent | 900366c6d623fde54223f93930d28a84264cbb46 (diff) |
fix ie input event
Diffstat (limited to 'public/javascripts/search.js')
-rw-r--r-- | public/javascripts/search.js | 4 |
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 |