return, for consistency.
authorJan Schneider <jan@horde.org>
Tue, 11 May 2010 22:29:28 +0000 (00:29 +0200)
committerJan Schneider <jan@horde.org>
Tue, 11 May 2010 22:43:41 +0000 (00:43 +0200)
horde/js/KeyNavList.js

index a82773b..149a5a6 100644 (file)
@@ -195,7 +195,7 @@ var KeyNavList = Class.create({
             this.opts.onChoose(this.getCurrentEntry());
             this.hide();
             e.stop();
-            break;
+            return;
 
         case Event.KEY_ESC:
             this.hide();