aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/position/position.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/position/position.html')
-rw-r--r--tests/visual/position/position.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/visual/position/position.html b/tests/visual/position/position.html
index d9c7adb85..70a9c40e5 100644
--- a/tests/visual/position/position.html
+++ b/tests/visual/position/position.html
@@ -54,17 +54,17 @@
drag: function() { position(); }
});
- $( "#within" ).click(function() {
+ $( "#within" ).on( "click", function() {
within = within.is( ".demo" ) ? $( window ) : $( ".demo" );
position();
});
- $( "#margin" ).click(function() {
+ $( "#margin" ).on( "click", function() {
positionable.toggleClass( "extra-margin" );
position();
});
- $( "select, input" ).bind( "click keyup change", function() { position(); } );
+ $( "select, input" ).on( "click keyup change", function() { position(); } );
position();
});