Attempt to improve prefix handling in hint
diff --git a/dev/js/src/hint/alert.js b/dev/js/src/hint/alert.js
index a5b43de..f34fde8 100644
--- a/dev/js/src/hint/alert.js
+++ b/dev/js/src/hint/alert.js
@@ -8,6 +8,7 @@
return Object.create(this)._init(msg);
},
_init : function (msg) {
+ this._type = 'alert';
this.active = false;
this._element = document.createElement('div');
this._element.style.opacity = 0;
@@ -20,7 +21,7 @@
this._element.style.opacity = 1;
},
- unshow : function () {
+ hide : function () {
if (!this.active)
return false;
this._element.style.opacity = 0;