Skip to content

Commit b1c1862

Browse files
committed
Fix syntax
1 parent 346f27e commit b1c1862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/colorbar/draw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ function drawColorBar(g, opts, gd) {
808808
var sideY = opts.y < 0.5 ? 'b' : 't';
809809
var sideX = opts.x < 0.5 ? 'l' : 'r';
810810

811-
gd._fullLayout._reservedMargin[opts._id] = {}
811+
gd._fullLayout._reservedMargin[opts._id] = {};
812812

813813
if(isPaperX && isPaperY) {
814814
Plots.autoMargin(gd, opts._id, marginOpts);
@@ -822,7 +822,7 @@ function drawColorBar(g, opts, gd) {
822822
} else {
823823
gd._fullLayout._reservedMargin[opts._id][sideY] = marginOpts[sideY];
824824
}
825-
}
825+
}
826826
}
827827

828828
return Lib.syncOrAsync([

0 commit comments

Comments
 (0)