allow display of html content in tooltip.
--- a/src/js/widgets/tooltipWidget.js Thu Jan 19 17:28:51 2012 +0100
+++ b/src/js/widgets/tooltipWidget.js Fri Jan 20 12:20:36 2012 +0100
@@ -19,7 +19,7 @@
};
IriSP.TooltipWidget.prototype.clear = function() {
- this.selector.find(".tiptext").text("");
+ this.selector.find(".tiptext").html("");
};
IriSP.TooltipWidget.prototype.show = function(text, color, x, y) {
@@ -29,7 +29,7 @@
this.selector.find(".tipcolor").css("background-color", color);
this._displayedText = text;
- this.selector.find(".tiptext").text(text);
+ this.selector.find(".tiptext").html(text);
if (x < 0)
x = 0;