Skip to content

Fix RedWarn Preferences and RC Patrol being unscrollable

Chlod Alejandro requested to merge master into master

Copied from my previous merge request and I think I fixed the CRLF/LF issue. Maybe one day we beautify the files. Y'know, Ctrl/Command-K-F.

From my old request:

I have changed all the instances of document.body.offsetWidth and height with window.innerWidth. The reason is that innerWidth and innerHeight is one of the only ways to get the dimensions of the window, while offsetWidth returns the width and height of an element with the border. This is not always the same; while on Vector skin it is for the most part the same, on Timeless and Monobook that is not the case. innerWidth and innerHeight gets the dimensions of the inner content of the window.

Before:

image

After:

image

Merge request reports