phoenix_live_view 0.18.5 → 0.18.6
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/assets/package.json +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
|
@@ -634,7 +634,7 @@ export default class LiveSocket {
|
|
|
634
634
|
}
|
|
635
635
|
let phxEvent = target && target.getAttribute(click)
|
|
636
636
|
if(!phxEvent){
|
|
637
|
-
if(!capture && e.target.href !== undefined && DOM.isExternalClick(e)){ this.unload() }
|
|
637
|
+
if(!capture && e.target.href !== undefined && !DOM.isExternalClick(e)){ this.unload() }
|
|
638
638
|
return
|
|
639
639
|
}
|
|
640
640
|
if(target.getAttribute("href") === "#"){ e.preventDefault() }
|
package/assets/package.json
CHANGED
package/package.json
CHANGED
|
@@ -3825,7 +3825,7 @@ var LiveSocket = class {
|
|
|
3825
3825
|
}
|
|
3826
3826
|
let phxEvent = target && target.getAttribute(click);
|
|
3827
3827
|
if (!phxEvent) {
|
|
3828
|
-
if (!capture && e.target.href !== void 0 && dom_default.isExternalClick(e)) {
|
|
3828
|
+
if (!capture && e.target.href !== void 0 && !dom_default.isExternalClick(e)) {
|
|
3829
3829
|
this.unload();
|
|
3830
3830
|
}
|
|
3831
3831
|
return;
|