X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=experimental%2Fpalette%2Fpalette.js;h=d98ab15fd18ecb2179f0bbd02b9adc61562e69a1;hb=469dc562ebda16c8034479927e0ceffede169d71;hp=89483331fb1ce56aed735236593b6f0d26af9335;hpb=9390f62431dfa8174b52d0aef45df7b4c7da138e;p=dygraphs.git diff --git a/experimental/palette/palette.js b/experimental/palette/palette.js index 8948333..d98ab15 100644 --- a/experimental/palette/palette.js +++ b/experimental/palette/palette.js @@ -115,9 +115,7 @@ Palette.prototype.create = function(parentElement) { row.mouseover(function(source, title, type, body) { return function() { - // source[0] is un-jquerying. - // TODO(konigsberg): when tooltip is jquery, dump this. - palette.tooltip.show(source[0], title, type, body); + palette.tooltip.show(source, title, type, body); }; } (row, opt, type, Dygraph.OPTIONS_REFERENCE[opt].description)) .mouseout(function() { palette.tooltip.hide(); })