• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Remove the share page templates when JavaScript is disabled

Brogan

XenForo moderator
Staff member
#1
I have made small edits to the share_page and sidebar_share_page templates to stop them being displayed when JavaScript is disabled.

Simply adding JsOnly to the class is enough, like so:

share_page
Code:
<div class="sharePage JsOnly">
sidebar_share_page
Code:
<div class="section infoBlock sharePage JsOnly">
Without these edits Facebook and Google aren't displayed but the Tweet text is.
Even then, the Share This Page text would still be displayed so these simple edits completely remove it.