mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 04:16:17 +01:00 
			
		
		
		
	moved dialog entrypoints into bootstrap, fixes
This commit is contained in:
		@@ -2,7 +2,6 @@ import treeService from '../services/tree.js';
 | 
			
		||||
import messagingService from '../services/messaging.js';
 | 
			
		||||
import server from '../services/server.js';
 | 
			
		||||
 | 
			
		||||
const $showDialogButton = $("#recent-notes-button");
 | 
			
		||||
const $dialog = $("#recent-notes-dialog");
 | 
			
		||||
const $searchInput = $('#recent-notes-search-input');
 | 
			
		||||
 | 
			
		||||
@@ -93,14 +92,6 @@ async function showDialog() {
 | 
			
		||||
 | 
			
		||||
setTimeout(reload, 100);
 | 
			
		||||
 | 
			
		||||
$(document).bind('keydown', 'ctrl+e', e => {
 | 
			
		||||
    showDialog();
 | 
			
		||||
 | 
			
		||||
    e.preventDefault();
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
$showDialogButton.click(showDialog);
 | 
			
		||||
 | 
			
		||||
export default {
 | 
			
		||||
    showDialog,
 | 
			
		||||
    addRecentNote,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user