aboutsummaryrefslogtreecommitdiffstats
path: root/library/jquery_ac/friendica.complete.js
diff options
context:
space:
mode:
Diffstat (limited to 'library/jquery_ac/friendica.complete.js')
-rw-r--r--library/jquery_ac/friendica.complete.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/library/jquery_ac/friendica.complete.js b/library/jquery_ac/friendica.complete.js
index 81eba564e..ff2c37437 100644
--- a/library/jquery_ac/friendica.complete.js
+++ b/library/jquery_ac/friendica.complete.js
@@ -167,8 +167,10 @@
default:
return;
}
- e.stopImmediatePropagation();
- e.preventDefault();
+ if(e.keyCode != 13) {
+ e.stopImmediatePropagation();
+ e.preventDefault();
+ }
},
onKeyUp: function(e) {