fix orbitbar

This commit is contained in:
BOHUNG 2020-02-06 14:26:58 +08:00
parent a9cbf2256c
commit efbf71a7c7
2 changed files with 4 additions and 0 deletions

View File

@ -402,6 +402,7 @@
top: 2.5em;
}
</style>
<% if !(OrbitHelper.request || request).env["REQUEST_URI"].include?('admin') %>
<script>
var barState = window.localStorage.getItem('barState');
function extendBar() {
@ -447,6 +448,7 @@
})
</script>
<% end %>
<% end %>
<style>
@media screen and (min-width:539px){
<% if(!current_site.orbit_bar_submenu_background_color.blank? rescue false)%>

View File

@ -395,6 +395,7 @@
top: 2.5em;
}
</style>
<% if !(OrbitHelper.request || request).env["REQUEST_URI"].include?('admin') %>
<script>
var barState = window.localStorage.getItem('barState');
function extendBar() {
@ -440,6 +441,7 @@
})
</script>
<% end %>
<% end %>
<style>
@media screen and (min-width:539px){
<% if(!current_site.orbit_bar_submenu_background_color.blank? rescue false)%>