holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r23142: https://jira.sup.com/browse/LJSUP-13593

Committer: akanashin
https://jira.sup.com/browse/LJSUP-13593
U   trunk/cgi-bin/LJ/Hooks/LJLike.pm
Modified: trunk/cgi-bin/LJ/Hooks/LJLike.pm
===================================================================
--- trunk/cgi-bin/LJ/Hooks/LJLike.pm	2012-10-15 21:43:44 UTC (rev 23141)
+++ trunk/cgi-bin/LJ/Hooks/LJLike.pm	2012-10-16 07:01:51 UTC (rev 23142)
@@ -35,6 +35,12 @@
 LJ::register_hook( 'insert_html_before_body_close' => sub {
     my ($after_body_open_ref) = @_;
 
+    $$after_body_open_ref .= qq{<script type="text/javascript" charset="UTF-8" src="http://surfingbird.ru/share/share.min.js"></script> };
+} );
+
+LJ::register_hook( 'insert_html_before_body_close' => sub {
+    my ($after_body_open_ref) = @_;
+
     return if $LJ::REQ_GLOBAL{'sitewide_resources_ljlike_twitter'}++;
 
     $$after_body_open_ref .=  qq{<script type="text/javascript">LiveJournal.injectScript('http://platform.twitter.com/widgets.js');</script>};

Tags: akanashin, holyandrew, livejournal, pm
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments