# HG changeset patch # User hamidouk # Date 1325678774 -3600 # Node ID 179b32df9caa24e0b76c3d9e2ea70fd9e7654038 # Parent 8dd6ebb7a79d23ea809f222a0da0a22d5b157f3a fixed a tooltip display bug. diff -r 8dd6ebb7a79d -r 179b32df9caa src/js/widgets/tooltipWidget.js --- a/src/js/widgets/tooltipWidget.js Wed Jan 04 11:38:24 2012 +0100 +++ b/src/js/widgets/tooltipWidget.js Wed Jan 04 13:06:14 2012 +0100 @@ -24,9 +24,9 @@ IriSP.TooltipWidget.prototype.show = function(text, color, x, y) { - if (this._displayedText == text) + if (this._displayedText == text && this._shown) return; - + this.selector.find(".tipcolor").css("background-color", color); this._displayedText = text; this.selector.find(".tiptext").text(text);