]> git.wh0rd.org Git - tt-rss.git/commitdiff
remove piggie-border on fade
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Feb 2006 12:47:09 +0000 (13:47 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Feb 2006 12:47:09 +0000 (13:47 +0100)
prefs.js

index 721b70b897e81966fa6295e4b1880512a8e218c1..4a018345f9ae84d1f8d829f7ec9b1b4859e69c2c 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -1148,6 +1148,8 @@ function piggie_callback() {
        var piggie = document.getElementById("piggie");
 
        piggie.style.top = piggie_top;
+       piggie.style.backgroundColor = "white";
+       piggie.style.borderWidth = "1px";
 
        if (piggie_fwd && piggie_top < 0) {
                setTimeout("piggie_callback()", 50);
@@ -1170,6 +1172,8 @@ function piggie2_callback() {
        var piggie = document.getElementById("piggie");
        piggie.style.top = 0;
        piggie.style.opacity = piggie_opacity;
+       piggie.style.backgroundColor = "transparent";
+       piggie.style.borderWidth = "0px";
 
        if (piggie_fwd && piggie_opacity < 1) {
                setTimeout("piggie2_callback()", 50);