Janine (janinedog) wrote in changelog,
Janine
janinedog
changelog

[livejournal] r12388: Open previews in a new window.

Committer: janine
Open previews in a new window.

U   branches/customize/cgi-bin/LJ/Widget/ThemeChooser.pm
Modified: branches/customize/cgi-bin/LJ/Widget/ThemeChooser.pm
===================================================================
--- branches/customize/cgi-bin/LJ/Widget/ThemeChooser.pm	2007-08-31 21:42:11 UTC (rev 12387)
+++ branches/customize/cgi-bin/LJ/Widget/ThemeChooser.pm	2007-08-31 21:42:29 UTC (rev 12388)
@@ -160,7 +160,7 @@
         } else {
             $preview_redirect_url = "$LJ::SITEROOT/customize2/preview_redirect.bml?user=" . $u->id . "&layoutid=" . $theme->layoutid;
         }
-        $ret .= "<a href='$preview_redirect_url' class='theme-preview-link' title='" . $class->ml('widget.themechooser.theme.preview') . "'>";
+        $ret .= "<a href='$preview_redirect_url' target='_blank' class='theme-preview-link' title='" . $class->ml('widget.themechooser.theme.preview') . "'>";
 
         $ret .= "<img src='$LJ::IMGPREFIX/customize/preview-theme.gif' class='theme-preview-image' /></a>";
         $ret .= $theme_icons;

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