Skip to content

Update ui.js; this will fix preferences being unscrollable on non-Vector skins

Chlod Alejandro requested to merge patch-1 into master

Using .offsetWidth and .offsetHeight returns the visible area of an element. On non-Vector skins, the entire body element is "visible" because certain elements are always there. I tested my changes, and this fixes preferences being unscrollable on Timeless.

Before: image

After: image

This is on Timeless by the way.

Merge request reports