Skip to content

Commit a992b59

Browse files
authored
Merge pull request #793 from plotly/rangeselector-buttons
Range selector buttons deletion
2 parents c9a6549 + 2102d02 commit a992b59

File tree

2 files changed

+403
-365
lines changed

2 files changed

+403
-365
lines changed

src/components/rangeselector/defaults.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ function buttonsDefaults(containerIn, containerOut) {
5757
buttonIn = buttonsIn[i];
5858
buttonOut = {};
5959

60+
if(!Lib.isPlainObject(buttonIn)) continue;
61+
6062
var step = coerce('step');
6163
if(step !== 'all') {
6264
coerce('stepmode');

0 commit comments

Comments
 (0)