inertiax-core 11.0.28 → 11.0.29
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/dist/index.js +4 -0
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2723,6 +2723,10 @@ var Response = class _Response {
|
|
|
2723
2723
|
if (typeof window === "undefined") {
|
|
2724
2724
|
return;
|
|
2725
2725
|
}
|
|
2726
|
+
if (this.requestParams.all().frameId !== "_top") {
|
|
2727
|
+
window.location.reload();
|
|
2728
|
+
return;
|
|
2729
|
+
}
|
|
2726
2730
|
if (isSameUrlWithoutHash(window.location, url)) {
|
|
2727
2731
|
window.location.reload();
|
|
2728
2732
|
} else {
|