1
0
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:
llj
2017-02-20 11:13:33 +08:00
parent b0d6304852
commit bcef81c006

View File

@@ -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>