aboutsummaryrefslogtreecommitdiffstats
path: root/google-plus-commando.js
diff options
context:
space:
mode:
authoranekos2011-07-17 04:20:26 +0900
committeranekos2011-07-17 04:20:26 +0900
commit57514964d7c32323d6d24920f7aab57809653af7 (patch)
tree8f59ba3f47eebf16ae3f0be96a8e8258d0b9bde9 /google-plus-commando.js
parent69c3f2de35ffb517022a528a98d49cdc9452d03c (diff)
downloadvimperator-plugins-57514964d7c32323d6d24920f7aab57809653af7.tar.bz2
見えない要素を root にしないように修正
ヒントされる要素が0になってしまう
Diffstat (limited to 'google-plus-commando.js')
-rw-r--r--google-plus-commando.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js
index 7c33738..acc9ff6 100644
--- a/google-plus-commando.js
+++ b/google-plus-commando.js
@@ -35,7 +35,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
// INFO {{{
let INFO =
<>
- <plugin name="GooglePlusCommando" version="1.9.0"
+ <plugin name="GooglePlusCommando" version="1.9.1"
href="http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/google-plus-commando.js"
summary="The handy commands for Google+"
lang="en-US"
@@ -165,7 +165,7 @@ let INFO =
};
function MakeElement (constructor, root) {
- if (root)
+ if (root && !/none/.test(util.computedStyle(root).display))
return constructor(root);
}