phoenix_live_view 0.18.1 → 0.18.2

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 LiveSocket = class {
3765
3765
  }
3766
3766
  }
3767
3767
  bindClicks() {
3768
- window.addEventListener("mousedown", (e) => this.clickStartedAtTarget = e.target);
3768
+ window.addEventListener("click", (e) => this.clickStartedAtTarget = e.target);
3769
3769
  this.bindClick("click", "click", false);
3770
3770
  this.bindClick("mousedown", "capture-click", true);
3771
3771
  }