From 43c5f3df82a43f77ecfa232a88b4bd6bdda6ea7c Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 7 Aug 2008 13:11:39 +0000 Subject: "()"が抜けていたのを修正。 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@17213 d0d07461-0603-4401-acd4-de1884942a52 --- auto_detect_link.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auto_detect_link.js') 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)} })(); -- cgit v1.2.3