aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/effects
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/effects')
-rw-r--r--tests/visual/effects/effects.scale.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/visual/effects/effects.scale.html b/tests/visual/effects/effects.scale.html
index f86c36b6e..708543257 100644
--- a/tests/visual/effects/effects.scale.html
+++ b/tests/visual/effects/effects.scale.html
@@ -8,7 +8,7 @@
<script src="../../../ui/jquery.effects.core.js"></script>
<script src="../../../ui/jquery.effects.scale.js"></script>
<script src="effects.all.js"></script>
- <script type="text/javascript" charset="utf-8">
+ <script>
jQuery(function( $ ) {
var test = $( "#testBox" ),
opts = $( ".arg" ),
@@ -36,9 +36,9 @@
var cur = this.selectedIndex,
next = cur + direction,
len = this.options.length;
-
+
this.selectedIndex = ( next + len ) % len;
-
+
if ( ( next+len ) % len === next ) return false;
});
doAnim();