diff --git a/public/js/app/note.js b/public/js/app/note.js index 77635e50..18a5761d 100644 --- a/public/js/app/note.js +++ b/public/js/app/note.js @@ -903,7 +903,7 @@ Note.renderChangedNote = function(changedNote) { $leftNoteNav.find(".desc").html(trimTitle(changedNote.Desc)); } if (changedNote.ImgSrc) { - $thumb = $leftNoteNav.find(".item-thumb"); + var $thumb = $leftNoteNav.find(".item-thumb"); // 有可能之前没有图片 if ($thumb.length > 0) { $thumb.find("img").attr("src", Note.fixImageSrc(changedNote.ImgSrc)); @@ -2500,8 +2500,6 @@ Note.initContextmenu = function() { this.menu.append(this.exports); } - T = this; - this.enable = function(name, ok) { this[name].enabled = ok; }