src/js/widgets/tooltipWidget.js
branchpopcorn-port
changeset 685 973d9a495d11
parent 646 2b8b2a94ee92
child 827 1dc2f85c3b89
--- 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;