Skip to content

Commit 9bc1303

Browse files
author
ShiHao
committed
bug修正:浏览器缩放时左侧导航不停闪烁问题
1 parent ddc6f4f commit 9bc1303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/default.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ var pageInitModule = (function (mod) {
3131
$(".sidebar").css({ left: -220 });
3232
$(".all").css({ marginLeft: 0 });
3333
} else {
34-
$(".sidebar").animate({ left: 0 });
35-
$(".all").animate({ marginLeft: 220 });
34+
$(".sidebar").css({ left: 0 });
35+
$(".all").css({ marginLeft: 220 });
3636
}
3737
};
3838
mod.setScrollToTop = function () {

0 commit comments

Comments
 (0)