diff options
author | anekos | 2011-07-16 08:16:01 +0900 |
---|---|---|
committer | anekos | 2011-07-16 08:16:01 +0900 |
commit | d1eaa3d24b12711f99c0f881a6e652d13e8306bd (patch) | |
tree | d3ffa058dafde0218bcc8ac369cbd656978fb918 | |
parent | 6057d91534db64731f1af31664b775d94a130a16 (diff) | |
download | vimperator-plugins-d1eaa3d24b12711f99c0f881a6e652d13e8306bd.tar.bz2 |
表示位置の調整がばぐっとった
-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 2dd62ba..bd29c42 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.8.0" + <plugin name="GooglePlusCommando" version="1.8.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" @@ -238,7 +238,7 @@ let INFO = function move (panel) { let contentHeight = document.getElementById('content').boxObject.height; let rect = Elements.focusedEditor.editor.getClientRects()[0]; - if (rect.top < contentHeight) { + if (rect.top < (contentHeight / 2)) { panel.style.top = ''; panel.style.bottom = '10px'; } else { |