diff options
author | anekos | 2011-08-20 06:50:39 +0900 |
---|---|---|
committer | anekos | 2011-08-20 06:50:39 +0900 |
commit | b763e486b52c2ad1d683451e9510d162d40b929a (patch) | |
tree | 07c15f8108dc758860c02c9fb700db30e0125c82 /google-plus-commando.js | |
parent | 7927b916fa6f9055771f678e751657b841f23e1d (diff) | |
download | vimperator-plugins-b763e486b52c2ad1d683451e9510d162d40b929a.tar.bz2 |
S.post.open 修正
一度開いていないと使えないようになってた
Diffstat (limited to 'google-plus-commando.js')
-rw-r--r-- | google-plus-commando.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js index ba938b5..10da942 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -36,7 +36,7 @@ THE POSSIBILITY OF SUCH DAMAGE. // INFO {{{ let INFO = <> - <plugin name="GooglePlusCommando" version="2.2.1" + <plugin name="GooglePlusCommando" version="2.2.2" href="http://github.com/vimpr/vimperator-plugins/blob/master/google-plus-commando.js" summary="The handy commands for Google+" lang="en-US" @@ -304,8 +304,7 @@ let g:gplus_commando_map_menu = "m" function (e) /this\.className/.test(e.getAttribute('onclick')) ); }, - open: function () { - }, + open: cssRules.finder(/opacity 0.125s ease 0.125s/), cancel: 'div[id$=".c"]', // :6w.c }, notification: '#gbi1', @@ -366,7 +365,7 @@ let g:gplus_commando_map_menu = "m" get currentEntry () MakeElement(Entry, Elements.doc.querySelector(S.currentEntry.root)), post: { get cancel () Elements.doc.querySelector(S.post.cancel), - get open () Elements.post.cancel.parentNode.parentNode.nextSibling.nextSibling + get open () Elements.doc.querySelector(S.post.open) }, get notification () Elements.doc.querySelector(S.notification), get viewer () MakeElement(Viewer, Elements.doc.querySelector(S.viewer.root)), |