diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-05-02 16:23:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-02 16:23:14 +0200 |
commit | 04c8f8f8bc2d2dccb6675bd1ed9912f098e76739 (patch) | |
tree | 7d78110b55ac5d72eb9f15584ec18afbb5948670 /mobile | |
parent | 832046aeb726dee290d2827a20d571034b6bc64a (diff) | |
parent | 3442ae7718679a4da8664bdbb561f746e0357203 (diff) | |
download | uxp-04c8f8f8bc2d2dccb6675bd1ed9912f098e76739.tar.gz |
Merge pull request #320 from janekptacijarabaci/instanceof_negations_1
palemoon#1173: Fix unsafe "instanceof" negations
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 9c753bd7bb..cf66a263e9 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'); |