Javascript and jQuery give different values for window.outerWidth vs $(window).outerWidth(). In this case, you want to use plain old Javascript. It will include the scrollbar(s) if they exist, as opposed to jQuery which ignores them.
Javascript and jQuery give different values for window.outerWidth vs $(window).outerWidth(). In this case, you want to use plain old Javascript. It will include the scrollbar(s) if they exist, as opposed to jQuery which ignores them.