mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
fix undefined variable (#97)
This commit is contained in:
parent
fc44b12504
commit
b8c8cb794d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue