Search shortcut

This commit is contained in:
Ludovic Stephan 2017-01-19 22:54:11 -02:00
parent 016989c4de
commit 832dc0ce10

View file

@ -299,6 +299,14 @@ $(document).ready(function() {
searchAccount() ;
}) ;
account_container.on('keydown', function(e) {
if (e.which == 70 && e.ctrlKey) {
// Ctrl + F : universal search shortcut
searchAccount() ;
e.preventDefault() ;
}
});
// Clear data
function resetAccountData() {
account_data = account_data_default;