aboutsummaryrefslogtreecommitdiffstats
path: root/test/data/offset/fixed.html
diff options
context:
space:
mode:
Diffstat (limited to 'test/data/offset/fixed.html')
-rw-r--r--test/data/offset/fixed.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html
index 48a2c4797..9016f87a9 100644
--- a/test/data/offset/fixed.html
+++ b/test/data/offset/fixed.html
@@ -15,10 +15,10 @@
<script src="../../jquery.js"></script>
<script src="../iframeTest.js"></script>
<script type="text/javascript" charset="utf-8">
- jQuery(function($) {
- window.scrollTo(1000,1000);
- $(".fixed").click(function() {
- $("#marker").css( $(this).offset() );
+ jQuery( function( $ ) {
+ window.scrollTo( 1000, 1000 );
+ $( ".fixed" ).on( "click", function() {
+ $( "#marker" ).css( $( this ).offset() );
return false;
});
startIframeTest();