Skip to content

Commit

Permalink
Fixes #1531
Browse files Browse the repository at this point in the history
  • Loading branch information
ss62171 committed Jan 19, 2020
1 parent 2b3e5a2 commit 9b09077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/lib/defaultHtmlSequencerUi.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
// look up needed steps from Url Hash:
function importStepsFromUrlHash() {
var hash = urlHash.getUrlHashParameter('steps');

if (hash) {
_sequencer.importString(hash);
_sequencer.run({ index: 0 });
Expand All @@ -27,7 +26,8 @@ function DefaultHtmlSequencerUi(_sequencer, options) {
function selectNewStepUi() {
var m = $(addStepSel + ' select').val();
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);
}

Expand Down

0 comments on commit 9b09077

Please sign in to comment.