diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-02 06:57:57 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-05-02 06:57:57 +0200 |
commit | 5426bd79c011f3e86b428b0ef2e3d2bd36808100 (patch) | |
tree | 5ed661a5998ac91f309bb27cb5ae52dfb4178cca /mobile | |
parent | c072e62645f8fa61968cfd6ad3cab84017cc1554 (diff) | |
download | aura-central-5426bd79c011f3e86b428b0ef2e3d2bd36808100.tar.gz |
Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/android/chrome/content/InputWidgetHelper.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mobile/android/chrome/content/InputWidgetHelper.js b/mobile/android/chrome/content/InputWidgetHelper.js index 9c753bd7b..cf66a263e 100644 --- a/mobile/android/chrome/content/InputWidgetHelper.js +++ b/mobile/android/chrome/content/InputWidgetHelper.js @@ -63,7 +63,7 @@ var InputWidgetHelper = { }, hasInputWidget: function(aElement) { - if (!aElement instanceof HTMLInputElement) + if (!(aElement instanceof HTMLInputElement)) return false; let type = aElement.getAttribute('type'); |