I just want some simple JQ/JS to check if the current page/window (not a particular element) has a vertical scrollbar.
Googling gives me stuff that seems overly comp
I use
function windowHasScroll() { return document.body.clientHeight > document.documentElement.clientHeight; }