Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 603656c

Browse files
committed
Add comments
1 parent 7636cb5 commit 603656c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plots/plots.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ plots.previousPromises = function(gd) {
257257
* Add source links to your graph inside the 'showSources' config argument.
258258
*/
259259
plots.addLinks = function(gd) {
260+
// Do not do anything if showLink and showSources are not set to true in config
260261
if(!gd._context.showLink && !gd._context.showSources) return;
261262

262263
var fullLayout = gd._fullLayout;

0 commit comments

Comments
 (0)