mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	removed all onclick handlers from index template
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
"use strict";
 | 
			
		||||
 | 
			
		||||
const recentNotes = (function() {
 | 
			
		||||
    const $showDialogButton = $("#recent-notes-button");
 | 
			
		||||
    const $dialog = $("#recent-notes-dialog");
 | 
			
		||||
    const $searchInput = $('#recent-notes-search-input');
 | 
			
		||||
 | 
			
		||||
@@ -94,6 +95,8 @@ const recentNotes = (function() {
 | 
			
		||||
        e.preventDefault();
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
    $showDialogButton.click(showDialog);
 | 
			
		||||
 | 
			
		||||
    return {
 | 
			
		||||
        showDialog,
 | 
			
		||||
        addRecentNote,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user