mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
fixed primary keys, added indexes
This commit is contained in:
@@ -45,6 +45,7 @@ $(document).bind('keydown', 'alt+h', showCurrentNoteHistory);
|
||||
|
||||
$("#note-history-list").on('change', () => {
|
||||
const optVal = $("#note-history-list").find(":selected").val();
|
||||
|
||||
const historyItem = globalHistoryItems.find(r => r.id == optVal); // non-strict comparison is important here!!!
|
||||
|
||||
$("#note-history-title").html(historyItem.note_title);
|
||||
|
||||
Reference in New Issue
Block a user