Permalink
Browse files

fixed working text-shadow on firefox 3.1

Signed-off-by: Pat Nakajima <patnakajima@gmail.com>
  • Loading branch information...
mattn authored and nakajima committed Apr 10, 2009
1 parent f0f8ae2 commit 8b7e886a9947cf9ade7ebb8436e6afd050eb9e40
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jquery-glowing.js
View
@@ -28,9 +28,9 @@
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';
+ $(fx.elem).css('text-shadow', fx.end.color + ' 0 0 ' + updatedRadius + 'px');
} else {
- fx.elem.style['text-shadow'] = $(fx.elem).data('glow.originalGlow');
+ $(fx.elem).css('text-shadow', $(fx.elem).data('glow.originalGlow'));
}
}

0 comments on commit 8b7e886

Please sign in to comment.