aboutsummaryrefslogtreecommitdiff
path: root/src/client/javascript/browserFixToolkit.js
blob: fbeab7408f18bcde805f1d00c93a8626d837d6f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
const self = {}

self.isIE = navigator.userAgent.indexOf('MSIE') !== -1 ||
            navigator.appVersion.indexOf('Trident/') > 0

if (self.isIE) {
  self.inputEvent = 'textinput'
} else {
  self.inputEvent = 'input'
}

module.exports = self