mirror of
https://github.com/leanote/desktop-app.git
synced 2026-01-13 07:03:04 +08:00
Update note.js
bugfix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user