1. 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

Discussion in 'Closed Suggestions' started by Brogan, Apr 26, 2012.

  1. Brogan

    Brogan XenForo Moderator Staff Member

    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:

    <div class="sharePage JsOnly">
    <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.
    Brandon Sheley likes this.

Share This Page