Skip to content

Commit 3aeeced

Browse files
committed
simplify legend draw - no need to return
1 parent d6573f3 commit 3aeeced

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/legend/draw.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var MAIN_TITLE = 1;
2626

2727
module.exports = function draw(gd, opts) {
2828
if(!opts) opts = gd._fullLayout.legend || {};
29-
return _draw(gd, opts);
29+
_draw(gd, opts);
3030
};
3131

3232
function _draw(gd, legendObj) {

0 commit comments

Comments
 (0)