Skip to content

Commit b1d227d

Browse files
committed
fix path + call signature for showSources
1 parent 3a26e73 commit b1d227d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shelly/plotlyjs/static/plotlyjs/src/graph_obj.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ plots.addLinks = function(gd) {
338338
spacespan = linkContainer.select('.js-link-spacer'),
339339
sourcespan = linkContainer.select('.js-sourcelinks');
340340

341-
if(gd._context.showSources) gd._context.showSources();
341+
if(gd._context.showSources) gd._context.showSources(gd);
342342

343343
// 'view in plotly' link for embedded plots
344344
if(gd._context.showLink) positionPlayWithData(gd, toolspan);

0 commit comments

Comments
 (0)