diff options
Diffstat (limited to 'auto_detect_link.js')
-rw-r--r-- | auto_detect_link.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/auto_detect_link.js b/auto_detect_link.js index 1c03f1b..98e70e3 100644 --- a/auto_detect_link.js +++ b/auto_detect_link.js @@ -247,7 +247,7 @@ try { let st = content.document.defaultView.getComputedStyle(element, null); return !(st.display && st.display.match(/none/)) && (!element.parentNode || isVisible(element.parentNode)) - } catch { + } catch (e) { return true; } } @@ -402,7 +402,7 @@ } - liberator.log('auto_nextandback.js loaded'); + liberator.log('auto_detect_link.js loaded'); }catch(e){liberator.log(e)} })(); |