scroll bar style

This commit is contained in:
life
2015-02-14 12:02:21 +08:00
parent ec4841a59d
commit 6983a6004b
7 changed files with 172 additions and 7 deletions

View File

@@ -815,7 +815,8 @@ Note.renderNotes = function(notes, forNewNote, isShared) {
// 手机端不用
// slimScroll使得手机端滚动不流畅
if(!LEA.isMobile && !Mobile.isMobile()) {
$("#noteItemList").slimScroll({ scrollTo: '0px', height: "100%", onlyScrollBar: true});
// $("#noteItemList").slimScroll({ scrollTo: '0px', height: "100%", onlyScrollBar: true});
$("#noteItemList").scrollTop(0); // ({ scrollTo: '0px', height: "100%", onlyScrollBar: true});
}
if(!notes || typeof notes != "object" || notes.length <= 0) {