Fixed right arrow behaviour in menus
diff --git a/dev/js/src/hint.js b/dev/js/src/hint.js
index 885e1ea..e07785b 100644
--- a/dev/js/src/hint.js
+++ b/dev/js/src/hint.js
@@ -158,16 +158,6 @@
if (this.active)
return;
- // Initialize the menus position
- /*
- if (this._firstTry) {
- this._inputField.reposition();
- this._firstTry = false;
- };
- */
-
- // update
-
// Get the menu
var menu;
if (menu = this.contextMenu(ifContext)) {
diff --git a/dev/js/src/menu.js b/dev/js/src/menu.js
index 4b95ae9..0e7fc44 100644
--- a/dev/js/src/menu.js
+++ b/dev/js/src/menu.js
@@ -112,10 +112,12 @@
break;
var item = this.liveItem(this._position);
+
if (item["further"] !== undefined) {
item["further"].bind(item).apply();
- e.halt();
};
+
+ e.halt();
break;
case 13: // 'Enter'