mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(mobile): clicking notes on iOS
This commit is contained in:
		
							parent
							
								
									04a3ed5642
								
							
						
					
					
						commit
						55fc2a3ebb
					
				@ -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")) {
 | 
			
		||||
 | 
			
		||||
@ -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 => {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user