holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[livejournal] r23380: LJSUP-14031: Latest.bml should have the ...

Committer: akanashin
LJSUP-14031: Latest.bml should have the same design with new friends feed
U   trunk/cgi-bin/LJ/Share.pm
Modified: trunk/cgi-bin/LJ/Share.pm
===================================================================
--- trunk/cgi-bin/LJ/Share.pm	2012-11-28 12:39:18 UTC (rev 23379)
+++ trunk/cgi-bin/LJ/Share.pm	2012-11-28 12:47:15 UTC (rev 23380)
@@ -21,7 +21,7 @@
 
     return if $LJ::REQ_GLOBAL{'sharing_resources_requested'}++;
 
-    LJ::need_res( qw( js/share.js stc/share.css ) );
+    LJ::need_res( 'stc/share.css' );
 
     my $services = {
         'livejournal' => {
@@ -75,6 +75,7 @@
 
     my $include_type = $opts{'include_type'} || 'init';
     if ( $include_type eq 'init' ) {
+        LJ::need_res( 'js/share.js' );
         LJ::include_raw( 'js' => "LJShare.init($params_out)" );
     } elsif ( $include_type eq 'define' ) {
         LJ::include_raw( 'js' => "Site.LJShareParams = $params_out;" );

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