Changed arrow functions to normal functions

This commit is contained in:
divy123
2018-12-16 15:39:48 +05:30
parent 537cc41b36
commit f27b09793c
2 changed files with 3 additions and 3 deletions

View File

@@ -88,7 +88,7 @@ function IntermediateHtmlStepUi(_sequencer, step, options) {
$(this).removeClass('selected');
});
$(step.ui.querySelector("#insertStep select")).on('change', selectNewStepUi);
$(step.ui.querySelector("#insertStep #add-step-btn")).on('click', () => doIt(id));
$(step.ui.querySelector("#insertStep #add-step-btn")).on('click', function(){ doIt(id)});
}
function doIt(id) {