Skip to content

Commit f9e99f9

Browse files
committed
pie: Fix undefined trace in 'plotly_click'
Fixes plotly#1456
1 parent 0d52abc commit f9e99f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/traces/pie/plot.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ module.exports = function plot(gd, cdpie) {
149149

150150
function handleClick() {
151151
gd._hoverdata = [pt];
152-
gd._hoverdata.trace = cd.trace;
152+
gd._hoverdata.trace = cd0.trace;
153153
Fx.click(gd, d3.event);
154154
}
155155

0 commit comments

Comments
 (0)