Skip to content

Instantly share code, notes, and snippets.

@yuriitaran
Forked from agragregra/chrome-smooth-scroll.js
Created February 4, 2018 11:18
Show Gist options
  • Save yuriitaran/91cffbb773c59f6e6266b3482aad74cd to your computer and use it in GitHub Desktop.
Save yuriitaran/91cffbb773c59f6e6266b3482aad74cd to your computer and use it in GitHub Desktop.
Chrome Smooth Scroll
//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