dfish-widget 1.0.53 → 1.0.54

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.
package/lib/index.esm.js CHANGED
@@ -696,7 +696,7 @@ const frag = function(s) {
696
696
 
697
697
  const el = function(o) {
698
698
  if (o) {
699
- return o.isWidget ? o.el() : o
699
+ return o.isWidget ? o.el() : (o.$el || o)
700
700
  }
701
701
  };
702
702
  // o -> el, s -> html string/object, r -> where[`after`, `prepend`, `before`, `append`]
@@ -2175,7 +2175,7 @@ var script$1k = {
2175
2175
  if (e = e.join())
2176
2176
  r = $$1.q(d ? `${f}:not(${e})` : e, this.el());
2177
2177
  } else {
2178
- r = $$1.q(f, a ? (a.isWidget ? a.el() : a) : this.el());
2178
+ r = $$1.q(f, a ? $$1.el(a) : this.el());
2179
2179
  }
2180
2180
  return r ? $$1.lodash.map(r.not('[w-form-ignore] :input')) : []
2181
2181
  },