phoenix_live_view 1.2.5 → 1.2.7

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.
@@ -3765,7 +3765,7 @@ var JS = {
3765
3765
  const alteredAttrs = sets.map(([attr, _val]) => attr).concat(removes);
3766
3766
  const newSets = prevSets.filter(([attr, _val]) => !alteredAttrs.includes(attr)).concat(sets);
3767
3767
  const newRemoves = prevRemoves.filter((attr) => !alteredAttrs.includes(attr)).concat(removes);
3768
- if (sets.some(([attr, _val]) => attr === "id")) {
3768
+ if (sets.some(([attr, val]) => attr === "id" && el.getAttribute("id") !== val)) {
3769
3769
  dom_default.putPrivate(el, "clientsideIdAttribute", true);
3770
3770
  }
3771
3771
  dom_default.putSticky(el, "attrs", (currentEl) => {
@@ -6065,7 +6065,7 @@ var LiveSocket = class {
6065
6065
  * Returns the version of the LiveView client.
6066
6066
  */
6067
6067
  version() {
6068
- return "1.2.5";
6068
+ return "1.2.7";
6069
6069
  }
6070
6070
  /**
6071
6071
  * Returns true if profiling is enabled. See {@link enableProfiling} and {@link disableProfiling}.