FIX: do not load custom header in admin section

This commit is contained in:
Arpit Jalan 2015-08-15 17:39:07 +05:30
parent e526fb0d1c
commit 62fce63952

View file

@ -60,7 +60,7 @@
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->
<%- unless customization_disabled? %>
<%- unless customization_disabled? || loading_admin? %>
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
<%- end %>