diff --git a/examples/lib/defaultHtmlStepUi.js b/examples/lib/defaultHtmlStepUi.js index 6d1d930ef4..746b4ab267 100644 --- a/examples/lib/defaultHtmlStepUi.js +++ b/examples/lib/defaultHtmlStepUi.js @@ -100,7 +100,7 @@ function DefaultHtmlStepUi(_sequencer, options) { $(step.ui.querySelector("div.details .btn-save")).prop("disabled",false); } - $(step.ui.querySelector(".target")).change(toggleSaveButton); + $(step.ui.querySelectorAll(".target")).focus(toggleSaveButton); $(step.ui.querySelector("div.details")).append( "
Press save to see changes
"