bhl-forms 0.1.18 → 0.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4786,7 +4786,7 @@ const keyValOverlap = (o1, o2) => {
4786
4786
  }
4787
4787
  return result;
4788
4788
  };
4789
- const strSubUrl = (str, obj, d = "") => str.replace(/\${(.*?)}/g, (x, g) => encodeURIComponent(getKey(obj, g)) || d);
4789
+ const strSubUrl = (str, obj, d = "") => str.replace(/\${(.*?)}/g, (x, g) => encodeURIComponent(getKey(obj, g) || d));
4790
4790
  function usePrepop() {
4791
4791
  let prepopSettings = {};
4792
4792
  const urlParams2 = new URLSearchParams(window.location.search);
@@ -11302,7 +11302,7 @@ const fireStepEvent = (formNode) => (stepResult, stepHistory2, stepQueue2) => {
11302
11302
  }
11303
11303
  var step_values = null;
11304
11304
  try {
11305
- scrollAnchor(formNode)();
11305
+ setTimeout(scrollAnchor(formNode), 100);
11306
11306
  if (stepHistory2.value.length > 0) {
11307
11307
  step_values = flattenObj(formNode.value[stepHistory2.value[stepHistory2.value.length - 1]] || {});
11308
11308
  }