fix history shortcut for firefox

pull/255/head
azivner 2017-12-18 23:44:20 +07:00
parent 58e3e8895a
commit b0e2d99a7b
1 changed files with 5 additions and 1 deletions

@ -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();