fix undefined variable (#97)

This commit is contained in:
Eli Flanagan 2017-10-24 11:33:49 -05:00 committed by Martin Mahner
parent fc44b12504
commit b8c8cb794d

View file

@ -40,7 +40,7 @@ jQuery(function($) {
if (navigator.appVersion.indexOf("Win")!=-1) { if (navigator.appVersion.indexOf("Win")!=-1) {
metaKey = e.ctrlKey; metaKey = e.ctrlKey;
} else { } else {
metaKey = event.metaKey; metaKey = e.metaKey;
} }
if (e.keyCode == 13 && metaKey) { if (e.keyCode == 13 && metaKey) {
$(this).closest('form').submit(); $(this).closest('form').submit();