diff options
author | anekos | 2009-08-29 10:35:28 +0000 |
---|---|---|
committer | anekos | 2009-08-29 10:35:28 +0000 |
commit | a7d9abc5a7773dececac0653bc4a4dc32ae77510 (patch) | |
tree | 967b60a9cb2c0eafaa64d61b63382418237bdc99 /sl.js | |
parent | 2bfa8d529e44287d94d513d833e2f3f4a717647e (diff) | |
download | vimperator-plugins-a7d9abc5a7773dececac0653bc4a4dc32ae77510.tar.bz2 |
引数の順番が間違っているのを修正
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35125 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'sl.js')
-rw-r--r-- | sl.js | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -20,6 +20,12 @@ function xmlToDom(xml, xmlns){ function getFullScreenAttr(){ let s = window.screen; + liberator.log({ + top: s.top, + left: s.left, + width: s.availWidth, + height: s.availHeight + }) return { top: s.top, left: s.left, @@ -525,7 +531,7 @@ let self = { attr.speed ); sl.start(attr.logo, attr.accident, attr.fly, attr.luckystar); - this.panel.openPopupAtScreen(attr.top || defAttr.top, attr.left || defAttr.left, false); + this.panel.openPopupAtScreen(attr.left || defAttr.left, attr.top || defAttr.top, false); }, init: function(){ let panel = document.getElementById("vimp-sl"); |