added comment (#1939)

Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
Aaditi-S
2021-08-18 19:54:02 +05:30
committed by GitHub
parent aebb6a0fd7
commit 6fdd40a887

View File

@@ -27,6 +27,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
function selectNewStepUi() {
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];
else $(addStepSel + ' .info').html(_sequencer.modulesInfo(m).description);
$(addStepSel + ' #add-step-btn').prop('disabled', false);