Remove commented-out console.log.
[dygraphs.git] / experimental / palette / tooltip.js
index 6ceb16e..20479b0 100644 (file)
@@ -40,10 +40,10 @@ function Tooltip(parent) {
   this.hide();
 }
 
-Tooltip.prototype.show = function(source, event, title, type, body) {
+Tooltip.prototype.show = function(source, title, type, body) {
   this.title.innerHTML = title;
   this.body.innerHTML = body;
-  this.type.innerText = type; // innerText for arrays.
+  this.type.textContent = type; // textContent for arrays.
 
   var getTopLeft = function(element) {
     var x = element.offsetLeft;