unpoly-rails 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of unpoly-rails might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/assets/unpoly/unpoly.es5.js +6 -3
- data/assets/unpoly/unpoly.es5.min.js +1 -1
- data/assets/unpoly/unpoly.js +6 -3
- data/assets/unpoly/unpoly.min.js +1 -1
- data/lib/unpoly/rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed64f466ecfb5e18ddf92d981d0082d87dc6ba0933d4b2ead19fc719555a5ec8
|
4
|
+
data.tar.gz: 8e1f3645c1578284ff2683103718768de9a13919f68f32c524aa987d2a50ba61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 268e09d0b71d55d8ff10a7d8c82d2b6b012a02668f14b0d442ccf7833162e25b1ccc9d1dc2ee246d56acc7aaff05236efff9fa3f5c60b08455f834b73e6cfb12
|
7
|
+
data.tar.gz: e3692c858269706bda893298c2ef725d38013319c817c54b0641d2e4dc19ad18c82e1a7f3ce474c78560733d972701c59a49d7d91ee8b3a9478ae64d56602844
|
data/assets/unpoly/unpoly.es5.js
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
@module up
|
9
9
|
*/
|
10
10
|
window.up = {
|
11
|
-
version: '2.4.
|
11
|
+
version: '2.4.1'
|
12
12
|
};
|
13
13
|
|
14
14
|
|
@@ -7294,13 +7294,16 @@ up.Layer = /** @class */ (function (_super) {
|
|
7294
7294
|
}
|
7295
7295
|
};
|
7296
7296
|
Layer.prototype.restoreHistory = function () {
|
7297
|
+
if (!this.showsLiveHistory()) {
|
7298
|
+
return;
|
7299
|
+
}
|
7297
7300
|
if (this.savedLocation) {
|
7301
|
+
// We cannot use the `this.title` setter as that does not
|
7302
|
+
// push a state if `newLocation === this.savedLocation`.
|
7298
7303
|
up.history.push(this.savedLocation);
|
7299
|
-
this.savedLocation = null;
|
7300
7304
|
}
|
7301
7305
|
if (this.savedTitle) {
|
7302
7306
|
document.title = this.savedTitle;
|
7303
|
-
this.savedTitle = null;
|
7304
7307
|
}
|
7305
7308
|
};
|
7306
7309
|
/*-
|