mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
75e5f8787f
commit
a138fc821b
3 changed files with 8 additions and 7 deletions
|
|
@ -194,7 +194,7 @@ export class Files extends Model {
|
|||
event.preventDefault();
|
||||
event.stopPropagation();
|
||||
if (target.parentElement.getAttribute("data-type") === "navigation-file") {
|
||||
openEmojiPanel(target.parentElement.getAttribute("data-node-id"), target, false);
|
||||
openEmojiPanel(target.parentElement.getAttribute("data-node-id"), target);
|
||||
} else {
|
||||
openEmojiPanel(target.parentElement.parentElement.getAttribute("data-url"), target, true);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue