mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
fix history shortcut for firefox
This commit is contained in:
@@ -44,7 +44,11 @@ const noteHistory = (function() {
|
||||
}
|
||||
}
|
||||
|
||||
$(document).bind('keydown', 'alt+h', showCurrentNoteHistory);
|
||||
$(document).bind('keydown', 'alt+h', e => {
|
||||
showCurrentNoteHistory();
|
||||
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
listEl.on('change', () => {
|
||||
const optVal = listEl.find(":selected").val();
|
||||
|
||||
Reference in New Issue
Block a user