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'});
|
$('.side-nav').css({'left': '-300px'});
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
$(window).resize(function() {
|
||||||
|
if ($(window).width() >= 768) {
|
||||||
|
$('.side-nav').css({'left': 0});
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
{% block extra_script %}{% endblock %}
|
{% block extra_script %}{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
|
Reference in New Issue
Block a user