diff options
Diffstat (limited to 'ext/js/dom/dom-text-scanner.js')
| -rw-r--r-- | ext/js/dom/dom-text-scanner.js | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/js/dom/dom-text-scanner.js b/ext/js/dom/dom-text-scanner.js index f1dc3661..5b3ea564 100644 --- a/ext/js/dom/dom-text-scanner.js +++ b/ext/js/dom/dom-text-scanner.js @@ -488,8 +488,8 @@ export class DOMTextScanner {      static isStyleVisible(style) {          return !(              style.visibility === 'hidden' || -            parseFloat(style.opacity) <= 0 || -            parseFloat(style.fontSize) <= 0 || +            Number.parseFloat(style.opacity) <= 0 || +            Number.parseFloat(style.fontSize) <= 0 ||              (                  !DOMTextScanner.isStyleSelectable(style) &&                  (  |