aboutsummaryrefslogtreecommitdiffstats
path: root/auto_detect_link.js
diff options
context:
space:
mode:
authoranekos2008-08-07 13:11:39 +0000
committeranekos2008-08-07 13:11:39 +0000
commit43c5f3df82a43f77ecfa232a88b4bd6bdda6ea7c (patch)
treef8a1f107001e6a6f73c040da24cdf05bdc0c2973 /auto_detect_link.js
parent856c6c7125e0238566ab7e73eb4077b596727a32 (diff)
downloadvimperator-plugins-43c5f3df82a43f77ecfa232a88b4bd6bdda6ea7c.tar.bz2
"()"が抜けていたのを修正。
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@17213 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'auto_detect_link.js')
-rw-r--r--auto_detect_link.js4
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)}
})();