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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phoenix_live_view",
3
- "version": "0.17.13",
3
+ "version": "0.17.14",
4
4
  "description": "The Phoenix LiveView JavaScript client.",
5
5
  "license": "MIT",
6
6
  "repository": {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "phoenix_live_view",
3
- "version": "0.17.13",
3
+ "version": "0.17.14",
4
4
  "description": "The Phoenix LiveView JavaScript client.",
5
5
  "license": "MIT",
6
6
  "module": "./priv/static/phoenix_live_view.esm.js",
@@ -3402,7 +3402,7 @@ var LiveSocket = class {
3402
3402
  let view = this.newRootView(rootEl);
3403
3403
  view.setHref(this.getHref());
3404
3404
  view.join();
3405
- if (rootEl.getAttribute(PHX_MAIN)) {
3405
+ if (rootEl.hasAttribute(PHX_MAIN)) {
3406
3406
  this.main = view;
3407
3407
  }
3408
3408
  }