diff options
author | anekos | 2010-03-09 18:07:03 +0000 |
---|---|---|
committer | anekos | 2010-03-09 18:07:03 +0000 |
commit | 5a6f61401cf03ed10a3ea359403380fafb8e1e6c (patch) | |
tree | 1c30113d58c2c611f41de0c49163000b8782d696 /maine_coon.js | |
parent | 0b18da4eaeff595aef7ef828129305d9faac21a1 (diff) | |
download | vimperator-plugins-5a6f61401cf03ed10a3ea359403380fafb8e1e6c.tar.bz2 |
まぎらわしいので意味なしコード削除
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@36983 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'maine_coon.js')
-rw-r--r-- | maine_coon.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/maine_coon.js b/maine_coon.js index c17cbd0..f8e1243 100644 --- a/maine_coon.js +++ b/maine_coon.js @@ -289,13 +289,12 @@ let elemStyle = let elem = U.xmlToDom(<div id="liberator_maine_coon" style={style}>{message}</div>, doc); doc.body.appendChild(elem); let count = time; - let startOpacity = elem.style.opacity; let handle = setInterval(function () { if (count <= 0) { if (remove) remove(); } else { - elem.style.MozOpacity = (count / time) * startOpacity; + elem.style.MozOpacity = count / time; } count--; }, 100); |