diff --git a/dpaste/templates/dpaste/base.html b/dpaste/templates/dpaste/base.html index a8c7115..3ae8e47 100644 --- a/dpaste/templates/dpaste/base.html +++ b/dpaste/templates/dpaste/base.html @@ -40,7 +40,7 @@ jQuery(function($) { if (navigator.appVersion.indexOf("Win")!=-1) { metaKey = e.ctrlKey; } else { - metaKey = event.metaKey; + metaKey = e.metaKey; } if (e.keyCode == 13 && metaKey) { $(this).closest('form').submit();