diff options
author | friendica <info@friendica.com> | 2014-06-14 20:16:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-06-14 20:16:40 -0700 |
commit | 0f6c321e3f23d43e407aa3b3b424f20b56e0032d (patch) | |
tree | f18d04fefe1ce24447dc3f824dfde711cacabb0e /assets | |
parent | b67c8ec8b99f5a552c08afaedf022b088e55ef47 (diff) | |
download | volse-hubzilla-0f6c321e3f23d43e407aa3b3b424f20b56e0032d.tar.gz volse-hubzilla-0f6c321e3f23d43e407aa3b3b424f20b56e0032d.tar.bz2 volse-hubzilla-0f6c321e3f23d43e407aa3b3b424f20b56e0032d.zip |
only show jotnets when posting conversation items
Diffstat (limited to 'assets')
-rw-r--r-- | assets/home.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/home.html b/assets/home.html index 41e3ffbc3..9789209ef 100644 --- a/assets/home.html +++ b/assets/home.html @@ -92,8 +92,8 @@ var r = 0; var g = 0; var b = 0; -var speed = 2; -var delay = 1000; +var speed = 10; +var delay = 150; var timer = null; var holdid = 0; @@ -113,7 +113,7 @@ function update_element() { var id = document.getElementById(element); id.innerHTML = curr; - timer = setTimeout('fadein();',5); + timer = setTimeout('fadein();',3); } function fadeout() { @@ -124,7 +124,7 @@ function fadeout() { b = (((b + speed) < 255) ? b + speed : 255); if((r != 255) && (g != 255) && (b != 255)) { - timer = setTimeout('fadeout();',10); + timer = setTimeout('fadeout();',5); } else update_element(); @@ -138,7 +138,7 @@ function fadein() { b = (((b - speed) > 0) ? b - speed : 0); if(r && g && b) { - timer = setTimeout('fadein();',10); + timer = setTimeout('fadein();',5); } else { timer = setTimeout('fadeout();',delay); |