Open hint and QL menu in the guided tour
Change-Id: I404b6c798fc403b9fd9e8bddaaf485c67a8d85e3
diff --git a/dev/js/src/menu.js b/dev/js/src/menu.js
index 1fb1ffd..3c2fff8 100644
--- a/dev/js/src/menu.js
+++ b/dev/js/src/menu.js
@@ -150,6 +150,8 @@
// Make this separate from _init
this.readItems(list);
+ this.dontHide = false;
+
return this;
},
@@ -583,12 +585,13 @@
* Hide the menu and call the onHide callback.
*/
hide : function () {
- this.removeItems();
- this._prefix.clear();
- this.onHide();
- this._element.classList.remove('visible');
-
- /* this._element.blur(); */
+ if(!this.dontHide){
+ this.removeItems();
+ this._prefix.clear();
+ this.onHide();
+ this._element.classList.remove('visible');
+ }
+ /* this._element.blur(); */
},
/**