aboutsummaryrefslogtreecommitdiffstats
path: root/library/jquery_ac
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-13 02:57:15 -0800
committerfriendica <info@friendica.com>2012-11-13 02:57:15 -0800
commit67a7d440d9c8b37acfe2aa7c062f453680c45384 (patch)
tree593c9b9b9d9142010f86af285b27987586f2b229 /library/jquery_ac
parent9bfff0bca1c827330b05ea973b785bcabb9dbb4e (diff)
downloadvolse-hubzilla-67a7d440d9c8b37acfe2aa7c062f453680c45384.tar.gz
volse-hubzilla-67a7d440d9c8b37acfe2aa7c062f453680c45384.tar.bz2
volse-hubzilla-67a7d440d9c8b37acfe2aa7c062f453680c45384.zip
usability improvements
Diffstat (limited to 'library/jquery_ac')
-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) {