@glitchr/transparent 1.0.13 → 1.0.14
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/package.json +1 -1
- package/src/js/transparent.js +3 -1
package/package.json
CHANGED
package/src/js/transparent.js
CHANGED
|
@@ -1583,8 +1583,10 @@
|
|
|
1583
1583
|
}, type != "POST");
|
|
1584
1584
|
}
|
|
1585
1585
|
|
|
1586
|
+
if(Transparent.isRescueMode()) window.location.href = url;
|
|
1587
|
+
|
|
1586
1588
|
if(history.state && !Transparent.hasResponse(history.state.uuid))
|
|
1587
|
-
|
|
1589
|
+
Transparent.setResponse(history.state.uuid, Transparent.html[0], Transparent.getScrollableElementXY());
|
|
1588
1590
|
|
|
1589
1591
|
// This append on user click (e.g. when user push a link)
|
|
1590
1592
|
// It is null when dev is pushing or replacing state
|