madeon (madeon) wrote in changelog,
madeon
madeon
changelog

[ljcom] r12229: LJSUP-12839: Fix vk like button

Committer: sbelyaev
LJSUP-12839: Fix vk like button
U   trunk/cgi-bin/LJ/CleanHtml/Like.pm
Modified: trunk/cgi-bin/LJ/CleanHtml/Like.pm
===================================================================
--- trunk/cgi-bin/LJ/CleanHtml/Like.pm	2012-07-05 09:12:45 UTC (rev 12228)
+++ trunk/cgi-bin/LJ/CleanHtml/Like.pm	2012-07-05 11:15:08 UTC (rev 12229)
@@ -134,6 +134,7 @@
     $vkontakte_like_js->{$uniqid}
                             = qq{<div id="vk_like_$uniqid"></div>}
                             . qq{<script type="text/javascript">}
+                            . qq{if (jQuery.VK)}
                             . qq{jQuery.VK.addButton("vk_like_$uniqid",$widget_opts_out);}
                             . qq{</script>};
 

Tags: ljcom, madeon, pm, sbelyaev
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