Update defaultHtmlSequencerUi.js (#1712)

Fixed Module Selector dropdown showing error in console publiclab#1531

Co-authored-by: Jeffrey Warren <jeff@unterbahn.com>
This commit is contained in:
bajajvinamr
2020-10-02 01:59:40 +05:30
committed by GitHub
parent b95af7672c
commit 8a929c4b4d

View File

@@ -28,7 +28,7 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
function selectNewStepUi() { function selectNewStepUi() {
var m = $(addStepSel + ' select').val(); var m = $(addStepSel + ' select').val();
if(!m) m = arguments[0]; if(!m) m = arguments[0];
$(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);
} }