var focusedArea = e.path['0'].localName;
// make sure it is not a text or input area
- if (focusedArea.indexOf('text') > -1 || focusedArea.indexOf('input') > 1) {
+ if (focusedArea.indexOf('text') > -1 || focusedArea.indexOf('input') > -1) {
console.log('in a text area');
return;
}
@@ -1058,7 +1060,7 @@