Browse files

Simplified logic a bit

  • Loading branch information...
1 parent 89899e6 commit a6126a21c5e3a366be88afb46d7b092d49dba70f @nakajima committed Apr 9, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery-glowing.js
View
4 src/jquery-glowing.js
@@ -24,8 +24,8 @@
}
updatedRadius = fx.end.begin ?
- Math.max(Math.min(parseInt(fx.end.radius * fx.pos))) :
- Math.max(Math.min(parseInt(fx.end.radius - (fx.end.radius * fx.pos))))
+ parseInt(fx.end.radius * fx.pos) :
+ parseInt(fx.end.radius - (fx.end.radius * fx.pos))
if (fx.end.begin || (fx.state < 1)) {
fx.elem.style['text-shadow'] = fx.end.color + ' 0 0 ' + updatedRadius + 'px';

0 comments on commit a6126a2

Please sign in to comment.