Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r19443: LJSUP-9233: Incorrect preview for iPad s...

Committer: gariev
LJSUP-9233: Incorrect preview for iPad style
User theme was overriden style's CSS, so it's removed now from preview

U   trunk/cgi-bin/LJ/S2Theme.pm
Modified: trunk/cgi-bin/LJ/S2Theme.pm
===================================================================
--- trunk/cgi-bin/LJ/S2Theme.pm	2011-07-06 05:44:10 UTC (rev 19442)
+++ trunk/cgi-bin/LJ/S2Theme.pm	2011-07-06 06:09:37 UTC (rev 19443)
@@ -643,14 +643,13 @@
     # we don't have a style for this theme, so get the new layers and set them to _for_preview directly
     my %style = LJ::S2::get_style($u);
     my $i18n_layer = $self->get_custom_i18n_layer_for_theme($u);
-    my $user_layer = $self->get_custom_user_layer_for_theme($u);
     my %layers = (
         core   => $style{core},
         i18nc  => $style{i18nc},
         layout => $self->layoutid,
         i18n   => $i18n_layer,
         theme  => $self->themeid,
-        user   => $user_layer,
+        user   => 0,
     );
     LJ::S2::set_style_layers($u, $styleid, %layers);
 

Tags: gariev, 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