[Koha-bugs] [Bug 24520] Share via Twitter option on OPAC is out of line with rest of Share options

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 27 16:45:53 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24520

--- Comment #1 from Owen Leonard <oleonard at myacpl.org> ---
The tweet link is a Font Awesome icon, but there is also some JavaScript which
loads Twitter's version of the button in its place. I must have it blocked in
my browser because I didn't see it until I switched to another one.

The solution is to remove the Twitter-specific JS:

Line 1410:

[% IF ( SocialNetworks ) %]
    <script>!function(d,s,id){var
js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
[% END %]

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list