Don't show custom header on mobile view

This commit is contained in:
Neil Lalonde 2013-09-12 18:33:26 -04:00
parent 731fd6a4ff
commit 5071d71294
1 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@
<body>
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->
<%=SiteCustomization.custom_header(session[:preview_style])%>
<% unless mobile_view? %>
<%= SiteCustomization.custom_header(session[:preview_style]) %>
<% end %>
<section id='main'>
</section>