Skip to main content
Skip table of contents

Making UI-Expand macro of RefinedToolkit work

Since Scroll Viewport has to work around a few limitations with links, which is why an anchor always includes a href-attribute.

Because the UI-Expand is working with those anchors, Scroll Viewport is reloading the page if clicking on the macro.

You can fix this problem by removing the href-attribute of the class rwui_expand via jQuery:

Removing href-attribute from .rwui_expand


It is the best for adding this script before the closing tag of the body.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.