equal
deleted
inserted
replaced
22 this.selector.find(".tiptext").text(""); |
22 this.selector.find(".tiptext").text(""); |
23 }; |
23 }; |
24 |
24 |
25 IriSP.TooltipWidget.prototype.show = function(text, color, x, y) { |
25 IriSP.TooltipWidget.prototype.show = function(text, color, x, y) { |
26 |
26 |
27 if (this._displayedText == text) |
27 if (this._displayedText == text && this._shown) |
28 return; |
28 return; |
29 |
29 |
30 this.selector.find(".tipcolor").css("background-color", color); |
30 this.selector.find(".tipcolor").css("background-color", color); |
31 this._displayedText = text; |
31 this._displayedText = text; |
32 this.selector.find(".tiptext").text(text); |
32 this.selector.find(".tiptext").text(text); |
33 //this.selector.find(".tip").css("left", x).css("top", y); |
33 //this.selector.find(".tip").css("left", x).css("top", y); |
34 this.selector.find(".tip").css("left", x).css("top", y); |
34 this.selector.find(".tip").css("left", x).css("top", y); |