diff --git a/src/mediatypes/image/image.viewer.js b/src/mediatypes/image/image.viewer.js index 493a817..6c08dff 100644 --- a/src/mediatypes/image/image.viewer.js +++ b/src/mediatypes/image/image.viewer.js @@ -151,6 +151,7 @@ annotorious.mediatypes.image.Viewer.prototype.highlightAnnotation = function(opt this._popup.startHideTimer(); this._redraw(); + this._eventsEnabled = true; } /** @@ -210,7 +211,7 @@ annotorious.mediatypes.image.Viewer.prototype._onMouseMove = function(event) { var self = this; if (topAnnotation) { - this._keepHighlighted = false; + this._keepHighlighted = topAnnotation == this._currentAnnotation; if (!this._currentAnnotation) { // Mouse moved into annotation from empty space - highlight immediately