diff options
author | anekos | 2011-07-17 04:20:26 +0900 |
---|---|---|
committer | anekos | 2011-07-17 04:20:26 +0900 |
commit | 57514964d7c32323d6d24920f7aab57809653af7 (patch) | |
tree | 8f59ba3f47eebf16ae3f0be96a8e8258d0b9bde9 /google-plus-commando.js | |
parent | 69c3f2de35ffb517022a528a98d49cdc9452d03c (diff) | |
download | vimperator-plugins-57514964d7c32323d6d24920f7aab57809653af7.tar.bz2 |
見えない要素を root にしないように修正
ヒントされる要素が0になってしまう
Diffstat (limited to 'google-plus-commando.js')
-rw-r--r-- | google-plus-commando.js | 4 |
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); } |