mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	fix(client): error when pressing template switch help (fixes #570)
This commit is contained in:
		
							parent
							
								
									1a5e2519df
								
							
						
					
					
						commit
						b3b7c4ebea
					
				@ -22,7 +22,6 @@ export default class TemplateSwitchWidget extends SwitchWidget {
 | 
				
			|||||||
        this.$switchOffButton.attr("title", t("template_switch.toggle-off-hint"));
 | 
					        this.$switchOffButton.attr("title", t("template_switch.toggle-off-hint"));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        this.$helpButton.attr("data-help-page", "template.html").show();
 | 
					        this.$helpButton.attr("data-help-page", "template.html").show();
 | 
				
			||||||
        this.$helpButton.on('click', e => utils.openHelp($(e.target)));
 | 
					 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    async switchOn() {
 | 
					    async switchOn() {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user