mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-09-09 11:14:22 +08:00
Fix the overFiringEditing/OverSnapping issue
This commit is contained in:
@@ -84,6 +84,7 @@ function updateText(id, newText, authorId){
|
|||||||
if(err || node == null){
|
if(err || node == null){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(node.text==newText){return;}
|
||||||
node.timestamp = Date.now();
|
node.timestamp = Date.now();
|
||||||
node.text = newText;
|
node.text = newText;
|
||||||
node.authorId = authorId;
|
node.authorId = authorId;
|
||||||
|
|||||||
Reference in New Issue
Block a user