fix history shortcut for firefox

This commit is contained in:
azivner 2017-12-18 23:44:20 -05:00
parent 58e3e8895a
commit b0e2d99a7b

View File

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