var _elements = null;
var _handlers = null;
var _hoverId = null;
+ var _suspended = false;
var _timeoutEnter = null;
var _timeoutLeave = null;
window.addEventListener('beforeunload', (function() {
_suspended = true;
+
+ if (_timeoutEnter !== null) {
+ window.clearTimeout(_timeoutEnter);
+ }
+
this._hide(true);
}).bind(this));
* @param {object} event event object
*/
_mouseEnter: function(event) {
+ if (_suspended) {
+ return;
+ }
+
if (_timeoutEnter !== null) {
window.clearTimeout(_timeoutEnter);
_timeoutEnter = null;