Last active
November 12, 2017 22:10
-
-
Save liuxd/8306af9b86437411378e1390d3c5e0b5 to your computer and use it in GitHub Desktop.
[stop page scroll for popup] #jQuery
This file contains hidden or 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
// Stop scroll while pop up | |
$("body").css("overflow", "hidden") | |
// Reset the scroll for page | |
$("body").css("overflow", "") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment