2heoh (2heoh) wrote in changelog,
2heoh
2heoh
changelog

[livejournal] r20294: LJM-1978: After leaving a comment in m.l...

Committer: slobin
LJM-1978: After leaving a comment in m.livejournal.com, user gets redirected to livejournal.com

M ControlStrip.pm
U   trunk/cgi-bin/LJ/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/ControlStrip.pm	2011-10-12 12:55:08 UTC (rev 20293)
+++ trunk/cgi-bin/LJ/ControlStrip.pm	2011-10-12 13:49:16 UTC (rev 20294)
@@ -348,7 +348,7 @@
         my $is_ssl = $LJ::IS_SSL = LJ::run_hook("ssl_check");
         my $proto = $is_ssl ? "https://" : "http://";
         my $url = LJ::eurl ($proto.$hostname.$uri.$args_wq);
-        $mobile_link = LJ::Lang::ml('link.mobile', { href => "href='http://m.livejournal.com/redirect?from=$url'" });
+        $mobile_link = LJ::Lang::ml('link.mobile', { href => "href='http://m.$LJ::DOMAIN/redirect?from=$url'" });
     }
 
     $tmpl->param(flatten($data), link_mobile => $mobile_link );

Tags: 2heoh, livejournal, pm, slobin
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