Use containerMenu as a base for HintMenu instead of regular menu
Change-Id: Ic1ed2e216a9c61aabf1f1cac41972b1a4e96a91a
diff --git a/dev/js/src/hint/item.js b/dev/js/src/hint/item.js
index 5c9a9a7..0889e11 100644
--- a/dev/js/src/hint/item.js
+++ b/dev/js/src/hint/item.js
@@ -51,19 +51,13 @@
var m = this.menu();
// m.hide();
- // Reset prefix
- m.prefix("");
-
- var h = m.hint();
-
- // Update input field
- var input = h.inputField();
- input.insert(this._action).update();
+ // Reset prefix and update the input field
+ m.reset(this._action);
e.halt();
// show alt
- h.show(true);
+ m.hint().show(true);
},
/**