Created
August 15, 2016 23:14
-
-
Save alexsul2008/ca2d3e592f54bbc5d06d0ea0a577bb09 to your computer and use it in GitHub Desktop.
Плавный scroll в chrome
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
//Chrome Smooth Scroll | |
try { | |
$.browserSelector(); | |
if($("html").hasClass("chrome")) { | |
$.smoothScroll(); | |
} | |
} catch(err) { | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment