Commit 3361b3bf authored by webchick's avatar webchick

#987102 by Jeff Burnz, tim.plunkett: Fixed Preview logo not removed when logo...

#987102 by Jeff Burnz, tim.plunkett: Fixed Preview logo not removed when logo theme setting is off in Bartik
parent b9a0db2f
......@@ -29,7 +29,7 @@ html.js #preview {
}
#preview-logo {
float: left;
padding: 15px 30px 15px 10px;
padding: 15px 15px 15px 10px;
}
#preview-site-name {
color: #686868;
......@@ -37,6 +37,7 @@ html.js #preview {
font-size: 1.821em;
line-height: 1;
margin-bottom: 30px;
margin-left: 15px;
padding-top: 34px;
}
#preview-main-menu {
......
......@@ -9,6 +9,10 @@
$('#preview #preview-logo img').attr('src', Drupal.settings.color.logo);
this.logoChanged = true;
}
// Remove the logo if the setting is toggled off.
if (Drupal.settings.color.logo == null) {
$('div').remove('#preview-logo');
}
// Solid background.
$('#preview', form).css('backgroundColor', $('#palette input[name="palette[bg]"]', form).val());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment