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.
- package/assets/js/phoenix_live_view/live_socket.js +1 -1
- package/package.json +1 -1
- package/priv/static/phoenix_live_view.cjs.js +1 -1
- package/priv/static/phoenix_live_view.cjs.js.map +2 -2
- package/priv/static/phoenix_live_view.esm.js +1 -1
- package/priv/static/phoenix_live_view.esm.js.map +2 -2
- package/priv/static/phoenix_live_view.js +1 -1
- package/priv/static/phoenix_live_view.min.js +1 -1
|
@@ -603,7 +603,7 @@ export default class LiveSocket {
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
bindClicks(){
|
|
606
|
-
window.addEventListener("
|
|
606
|
+
window.addEventListener("click", e => this.clickStartedAtTarget = e.target)
|
|
607
607
|
this.bindClick("click", "click", false)
|
|
608
608
|
this.bindClick("mousedown", "capture-click", true)
|
|
609
609
|
}
|
package/package.json
CHANGED
|
@@ -3778,7 +3778,7 @@ var LiveSocket = class {
|
|
|
3778
3778
|
}
|
|
3779
3779
|
}
|
|
3780
3780
|
bindClicks() {
|
|
3781
|
-
window.addEventListener("
|
|
3781
|
+
window.addEventListener("click", (e) => this.clickStartedAtTarget = e.target);
|
|
3782
3782
|
this.bindClick("click", "click", false);
|
|
3783
3783
|
this.bindClick("mousedown", "capture-click", true);
|
|
3784
3784
|
}
|