Author: humbedooh
Date: Tue Mar 17 15:17:03 2015
New Revision: 1667329
URL: http://svn.apache.org/r1667329
Log:
don't fade out while fading in
Modified:
steve/trunk/www/htdocs/steve_interactive.js
Modified: steve/trunk/www/htdocs/steve_interactive.js
URL:
http://svn.apache.org/viewvc/steve/trunk/www/htdocs/steve_interactive.js?rev=1667329&r1=1667328&r2=1667329&view=diff
==============================================================================
--- steve/trunk/www/htdocs/steve_interactive.js (original)
+++ steve/trunk/www/htdocs/steve_interactive.js Tue Mar 17 15:17:03 2015
@@ -422,6 +422,9 @@ function fadeOut(x) {
if (!x) {
x = 1
}
+ if (fading) {
+ return;
+ }
x -= 0.1
document.getElementById(source).setAttribute("class", "ballotSelected")
document.getElementById(source).style.opacity = String(x)