mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
[side nav] fix for non-backbone pages
This commit is contained in:
@@ -210,6 +210,11 @@ $('.js-close-side-nav').click(function() {
|
||||
$('.side-nav').css({'left': '-300px'});
|
||||
return false;
|
||||
});
|
||||
$(window).resize(function() {
|
||||
if ($(window).width() >= 768) {
|
||||
$('.side-nav').css({'left': 0});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
{% block extra_script %}{% endblock %}
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user