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

View file

@ -30,7 +30,9 @@
<body> <body>
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]--> <!--[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 id='main'>
</section> </section>