Skip to content

Commit 099bf52

Browse files
It's too complicated to use push like concat
so we'll just leave it the way it is.
1 parent b8dc27f commit 099bf52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/axes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ axes.coerceRef = function(containerIn, containerOut, gd, attr, dflt, extraOption
9595

9696
if(!dflt) dflt = axlist[0] || (typeof extraOption === 'string' ? extraOption : extraOption[0]);
9797
if(!extraOption) extraOption = dflt;
98-
if(domainRef) axlist.push(axlist.map(function(x) { return x + ' domain'; }));
98+
if(domainRef) axlist = axlist.concat(axlist.map(function(x) { return x + ' domain'; }));
9999

100100
// data-ref annotations are not supported in gl2d yet
101101

0 commit comments

Comments
 (0)