aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/effects/effects.scale.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-23 16:33:34 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-23 16:33:34 -0400
commit0f575e03bb9af0b09d18a9207d9f589e05f44d50 (patch)
tree18251a2d3e7c51adb8f265158ca0361f5cca73d1 /tests/visual/effects/effects.scale.html
parentaf1576280a807dcc166ddf619abab1fc24cac664 (diff)
parent9df981d268b4029065247cf230a4e988946b7799 (diff)
downloadjquery-ui-0f575e03bb9af0b09d18a9207d9f589e05f44d50.tar.gz
jquery-ui-0f575e03bb9af0b09d18a9207d9f589e05f44d50.zip
Merge branch 'master' into position-notification
Conflicts: tests/unit/position/position_core_within.js
Diffstat (limited to 'tests/visual/effects/effects.scale.html')
-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();