fix(mobile): clicking notes on iOS

This commit is contained in:
Elian Doran
2024-12-28 11:11:00 +02:00
parent 04a3ed5642
commit 55fc2a3ebb
2 changed files with 0 additions and 2 deletions

View File

@@ -53,7 +53,6 @@ class ContextMenu {
}
async show<T extends CommandNames>(options: ContextMenuOptions<T>) {
console.warn(new Error().stack);
this.options = options;
if (this.$widget.hasClass("show")) {

View File

@@ -619,7 +619,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
this.$tree.on("touchend", ".fancytree-node", (e) => {
clearTimeout(showTimeout);
e.preventDefault();
});
} else {
this.$tree.on('contextmenu', '.fancytree-node', e => {