diff options
author | anekos | 2011-07-13 14:32:43 +0900 |
---|---|---|
committer | anekos | 2011-07-13 14:32:43 +0900 |
commit | adafce5933d2c759b83fb2d707bf630c9d438ce1 (patch) | |
tree | 41b13c10b7c243a0dfeafd00f0a474a92af685af | |
parent | 127d623203df400a9f0d4c48db1d886ba15e40de (diff) | |
download | vimperator-plugins-adafce5933d2c759b83fb2d707bf630c9d438ce1.tar.bz2 |
ボタンの認識まつがい修正
-rw-r--r-- | google-plus-commando.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/google-plus-commando.js b/google-plus-commando.js index 736ee2d..0529ce8 100644 --- a/google-plus-commando.js +++ b/google-plus-commando.js @@ -115,12 +115,12 @@ let INFO = for ([, e] in Iterator(A(root.querySelectorAll('a')))) if (!e.getAttribute('oid')) ][0], - get buttons () A(root.querySelectorAll('[role="button"]')), - get commentButton () self.buttons[2], + get buttons () A(self.plusone.parentNode.querySelectorAll('[role="button"]')), + get commentButton () self.buttons[0], get commentEditor () let (e = root.querySelector('.editable')) (e && e.parentNode), get comment() (self.commentEditor || self.commentButton), get plusone () root.querySelector('[g\\:type="plusone"]'), - get share () self.buttons[3], + get share () self.buttons[1], get menu () root.querySelector('[role="menu"]') }; return self; |