×

You're using an outdated browser

For a better experience, keep your browser up to date. Check here for the latest version.

Manual

Making UI-Expand macro of RefinedToolkit work

Steffen Burzlaff

Steffen Burzlaff Last update: Nov 24, 2017

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

<script>
	$('.rwui_expand').removeAttr('href')
</script>

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


2x2.10
We use cookies to create a secure and effective browsing experience for our website visitors and to understand how you use our site (i.e. Google Analytics). For more information: click here.
Ok