Fixed bluring on hint menus for chrome - fixed #46 and #38
Change-Id: Idc57b612c423d72f54f2d4499e0e91cbf71732ac
diff --git a/dev/js/src/hint.js b/dev/js/src/hint.js
index 19c360f..e1b0796 100644
--- a/dev/js/src/hint.js
+++ b/dev/js/src/hint.js
@@ -259,7 +259,7 @@
// Remove the active object
this._unshow();
-
+
// Get the menu
var menu;
if (menu = this.contextMenu(ifContext)) {
@@ -300,12 +300,12 @@
_unshow : function () {
if (this.active() !== null) {
// var act = this.active();
-
+
// This does not work for alert currently!
//if (act._type !== 'alert') {
if (!this._alert.active) {
var c = this._inputField.container();
- c.removeChild(this._active.element());
+ c.removeChild(this._active.element());
}
else {
this._unshowAlert();