fix orbitbar
This commit is contained in:
parent
a9cbf2256c
commit
efbf71a7c7
|
@ -402,6 +402,7 @@
|
||||||
top: 2.5em;
|
top: 2.5em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<% if !(OrbitHelper.request || request).env["REQUEST_URI"].include?('admin') %>
|
||||||
<script>
|
<script>
|
||||||
var barState = window.localStorage.getItem('barState');
|
var barState = window.localStorage.getItem('barState');
|
||||||
function extendBar() {
|
function extendBar() {
|
||||||
|
@ -447,6 +448,7 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% end %>
|
||||||
<style>
|
<style>
|
||||||
@media screen and (min-width:539px){
|
@media screen and (min-width:539px){
|
||||||
<% if(!current_site.orbit_bar_submenu_background_color.blank? rescue false)%>
|
<% if(!current_site.orbit_bar_submenu_background_color.blank? rescue false)%>
|
||||||
|
|
|
@ -395,6 +395,7 @@
|
||||||
top: 2.5em;
|
top: 2.5em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<% if !(OrbitHelper.request || request).env["REQUEST_URI"].include?('admin') %>
|
||||||
<script>
|
<script>
|
||||||
var barState = window.localStorage.getItem('barState');
|
var barState = window.localStorage.getItem('barState');
|
||||||
function extendBar() {
|
function extendBar() {
|
||||||
|
@ -440,6 +441,7 @@
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
<% end %>
|
||||||
<style>
|
<style>
|
||||||
@media screen and (min-width:539px){
|
@media screen and (min-width:539px){
|
||||||
<% if(!current_site.orbit_bar_submenu_background_color.blank? rescue false)%>
|
<% if(!current_site.orbit_bar_submenu_background_color.blank? rescue false)%>
|
||||||
|
|
Loading…
Reference in New Issue