Created
July 21, 2012 17:27
-
-
Save johnhaitas/3156488 to your computer and use it in GitHub Desktop.
conditionals for conditional binding events for browsers in FixedColumns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( !$.browser.mozilla ) | |
{ | |
// Bind 'scroll' for most browsers | |
} else { | |
// Bind 'scroll' for Mozilla browsers | |
} | |
if ( $.browser.safari ) | |
{ | |
// Bind 'mousewheel' for Safari | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
the$.browser.firefox conditional is no longer necessary ... just the $ .browser.safari conditional