Switched to save_check for ctrl+s

This commit is contained in:
Daniel Perna 2018-01-31 22:50:56 +01:00
parent a415d22589
commit 373708f601
2 changed files with 2 additions and 2 deletions

View file

@ -2125,7 +2125,7 @@ INDEX = Template(r"""<!DOCTYPE html>
$(document).keydown(function(e) {
if ((e.key == 's' || e.key == 'S' ) && (e.ctrlKey || e.metaKey)) {
e.preventDefault();
save();
save_check();
return false;
}
return true;

View file

@ -2041,7 +2041,7 @@
$(document).keydown(function(e) {
if ((e.key == 's' || e.key == 'S' ) && (e.ctrlKey || e.metaKey)) {
e.preventDefault();
save();
save_check();
return false;
}
return true;