mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-13 03:40:03 +01:00
fix: module names had spaces instead of hyphen (#1073)
This commit is contained in:
committed by
Jeffrey Warren
parent
6f4cf80648
commit
461f3f905a
@@ -44,7 +44,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
|
|||||||
if ($(addStepSel + ' select').val() == 'none') return;
|
if ($(addStepSel + ' select').val() == 'none') return;
|
||||||
var newStepName;
|
var newStepName;
|
||||||
if(typeof arguments[0] !== 'string')
|
if(typeof arguments[0] !== 'string')
|
||||||
newStepName = $(addStepSel + ' select option').html().toLowerCase();
|
newStepName = $(addStepSel + ' select option').html().toLowerCase().split(' ').join('-');
|
||||||
else newStepName = arguments[0];
|
else newStepName = arguments[0];
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user