mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-12 13:24:52 +00:00
[upgrade jquery] modifications, & cleaned up code & files
This commit is contained in:
@@ -19,11 +19,11 @@ define([
|
||||
this.render();
|
||||
|
||||
var _this = this;
|
||||
$('#js-toggle-side-nav').click(function() {
|
||||
$('#js-toggle-side-nav').on('click', function() {
|
||||
_this.show();
|
||||
return false;
|
||||
});
|
||||
$(window).resize(function() {
|
||||
$(window).on('resize', function() {
|
||||
if ($(window).width() >= 768) {
|
||||
_this.show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user