phoenix_live_view 0.17.13 → 0.17.14

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.
@@ -3389,7 +3389,7 @@ var LiveSocket = class {
3389
3389
  let view = this.newRootView(rootEl);
3390
3390
  view.setHref(this.getHref());
3391
3391
  view.join();
3392
- if (rootEl.getAttribute(PHX_MAIN)) {
3392
+ if (rootEl.hasAttribute(PHX_MAIN)) {
3393
3393
  this.main = view;
3394
3394
  }
3395
3395
  }