- Prevent accidentally scrolling to the top of the viewport if you call
noScroll.on()twice without any interveningnoScroll.off().
- Add
togglefunction.
- Switch methods for scroll blocking. Now we're fixing the
positionofdocument.documentElement. - Switch methods for scrollbar compensation. Now we're using
calc().
- Fix IE bug.
- Expose
noScrollglobally ifmodule.exportsis unavailable (no CommonJS environment).
- No-op if there's no document.
- Switch inline styles from body to
documentElement.
- Initial release.