Skip to content

Commit

Permalink
Update hide-address-bar.js
Browse files Browse the repository at this point in the history
`useCapture` parameter is required in versions of Firefox below v6. This was causing fatal errors and blocking the rest of the JavaScripts on the page.
  • Loading branch information
Tyler Smith committed Aug 9, 2012
1 parent 0871b48 commit b68027f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hide-address-bar.js
Expand Up @@ -29,6 +29,6 @@
win.scrollTo( 0, scrollTop === 1 ? 0 : 1 );
}
}, 0);
} );
}, false );
}
})( this );

0 comments on commit b68027f

Please sign in to comment.