diff options
-rw-r--r-- | js/spam.js | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -314,6 +314,18 @@ function processData(data) { infoPane.on('mousedown.drag', null); }); + infoPane.select('.content') + .insert('button', ':first-child') + .text('Spam update') + .on('click', function () { + refreshSpam(); + d3.select(this) + .style('opacity', '0') + .transition() + .duration(1000) + .style('opacity', '1'); + }); + function dragger() { var changes = { 'left': d3.event.dx, |