mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-14 04:10:04 +01:00
added comment (#1939)
Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
@@ -27,6 +27,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
|
|||||||
|
|
||||||
function selectNewStepUi() {
|
function selectNewStepUi() {
|
||||||
var m = $(addStepSel + ' select').val();
|
var m = $(addStepSel + ' select').val();
|
||||||
|
//if so that whenever the module dropdown is empty it will not show error it will take first value.
|
||||||
if(!m) m = arguments[0];
|
if(!m) m = arguments[0];
|
||||||
else $(addStepSel + ' .info').html(_sequencer.modulesInfo(m).description);
|
else $(addStepSel + ' .info').html(_sequencer.modulesInfo(m).description);
|
||||||
$(addStepSel + ' #add-step-btn').prop('disabled', false);
|
$(addStepSel + ' #add-step-btn').prop('disabled', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user