mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 18:25:51 +01:00
client: recent changes list: make the whole item clickable, not just the note title
This commit is contained in:
@@ -120,6 +120,12 @@ export default class RecentChangesDialog extends BasicWidget {
|
||||
}
|
||||
|
||||
$changesList.append($('<li>')
|
||||
.on("click", (e) => {
|
||||
if (e.target?.nodeName !== "A") { // Ignore clicks on the link
|
||||
// Open the current note
|
||||
appContext.tabManager.getActiveContext().setNote(change.noteId);
|
||||
}
|
||||
})
|
||||
.append(
|
||||
$("<span>")
|
||||
.text(formattedTime)
|
||||
|
||||
Reference in New Issue
Block a user