From 67a7d440d9c8b37acfe2aa7c062f453680c45384 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 13 Nov 2012 02:57:15 -0800 Subject: usability improvements --- library/jquery_ac/friendica.complete.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'library') 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) { -- cgit v1.2.3