mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-12 03:10: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;
|
||||
var newStepName;
|
||||
if(typeof arguments[0] !== 'string')
|
||||
newStepName = $(addStepSel + ' select option').html().toLowerCase();
|
||||
newStepName = $(addStepSel + ' select option').html().toLowerCase().split(' ').join('-');
|
||||
else newStepName = arguments[0];
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user