Skip to content

Commit 0c40b02

Browse files
committed
Remove hard-coded updatemenus active default
1 parent 52de9e4 commit 0c40b02

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/updatemenus/defaults.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ function menuDefaults(menuIn, menuOut, layoutOut) {
5050
var visible = coerce('visible', buttons.length > 0);
5151
if(!visible) return;
5252

53-
// Default to zero since active must be *something*:
54-
coerce('active', 0);
55-
53+
coerce('active');
5654
coerce('direction');
5755
coerce('type');
5856
coerce('showactive');

0 commit comments

Comments
 (0)