mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	fix & unify "show recent notes" buttons
This commit is contained in:
		| @@ -15,7 +15,7 @@ const $prefixFormGroup = $("#add-link-prefix-form-group"); | ||||
| const $linkTypeDiv = $("#add-link-type-div"); | ||||
| const $linkTypes = $("input[name='add-link-type']"); | ||||
| const $linkTypeHtml = $linkTypes.filter('input[value="html"]'); | ||||
| const $showRecentNotesButton = $("#add-link-show-recent-notes"); | ||||
| const $showRecentNotesButton = $dialog.find(".show-recent-notes-button"); | ||||
|  | ||||
| function setLinkType(linkType) { | ||||
|     $linkTypes.each(function () { | ||||
|   | ||||
| @@ -5,7 +5,7 @@ import searchNotesService from '../services/search_notes.js'; | ||||
| const $dialog = $("#jump-to-note-dialog"); | ||||
| const $autoComplete = $("#jump-to-note-autocomplete"); | ||||
| const $showInFullTextButton = $("#show-in-full-text-button"); | ||||
| const $showRecentNotesButton = $("#jump-to-note-show-recent-notes"); | ||||
| const $showRecentNotesButton = $dialog.find(".show-recent-notes-button"); | ||||
|  | ||||
| async function showDialog() { | ||||
|     glob.activeDialog = $dialog; | ||||
|   | ||||
| @@ -286,6 +286,8 @@ | ||||
|  | ||||
|             <div class="input-group"> | ||||
|                 <input id="note-autocomplete" class="form-control" placeholder="search for note by its name" style="width: 100%;"> | ||||
|  | ||||
|                 <span class="input-group-addon show-recent-notes-button" title="Show recent notes"></span> | ||||
|             </div> | ||||
|         </div> | ||||
|  | ||||
| @@ -309,7 +311,7 @@ | ||||
|         <div class="input-group"> | ||||
|           <input id="jump-to-note-autocomplete" class="form-control" placeholder="search for note by its name" style="width: 100%;"> | ||||
|  | ||||
|           <span class="input-group-addon" id="jump-to-note-show-recent-notes" title="Show recent notes" style="background: url('/images/icons/clock-16.png') no-repeat center; cursor: pointer;"></span> | ||||
|           <span class="input-group-addon show-recent-notes-button" title="Show recent notes"></span> | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user