mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
fix(mobile): clicking notes on iOS
This commit is contained in:
@@ -53,7 +53,6 @@ class ContextMenu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async show<T extends CommandNames>(options: ContextMenuOptions<T>) {
|
async show<T extends CommandNames>(options: ContextMenuOptions<T>) {
|
||||||
console.warn(new Error().stack);
|
|
||||||
this.options = options;
|
this.options = options;
|
||||||
|
|
||||||
if (this.$widget.hasClass("show")) {
|
if (this.$widget.hasClass("show")) {
|
||||||
|
|||||||
@@ -619,7 +619,6 @@ export default class NoteTreeWidget extends NoteContextAwareWidget {
|
|||||||
|
|
||||||
this.$tree.on("touchend", ".fancytree-node", (e) => {
|
this.$tree.on("touchend", ".fancytree-node", (e) => {
|
||||||
clearTimeout(showTimeout);
|
clearTimeout(showTimeout);
|
||||||
e.preventDefault();
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
this.$tree.on('contextmenu', '.fancytree-node', e => {
|
this.$tree.on('contextmenu', '.fancytree-node', e => {
|
||||||
|
|||||||
Reference in New Issue
Block a user