projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove the "Copy" code, it's been replaced by "to hash".
[dygraphs.git]
/
experimental
/
palette
/
tooltip.js
diff --git
a/experimental/palette/tooltip.js
b/experimental/palette/tooltip.js
index
6ceb16e
..
20479b0
100644
(file)
--- a/
experimental/palette/tooltip.js
+++ b/
experimental/palette/tooltip.js
@@
-40,10
+40,10
@@
function Tooltip(parent) {
this.hide();
}
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.title.innerHTML = title;
this.body.innerHTML = body;
- this.type.
innerText = type; // innerTex
t for arrays.
+ this.type.
textContent = type; // textConten
t for arrays.
var getTopLeft = function(element) {
var x = element.offsetLeft;
var getTopLeft = function(element) {
var x = element.offsetLeft;