|
@@ -4290,19 +4290,24 @@
|
|
|
writeURLTimeout = setTimeout( writeURL, delay );
|
|
|
}
|
|
|
else if( currentSlide ) {
|
|
|
+
|
|
|
+
|
|
|
if( config.history || !window.history ) {
|
|
|
window.location.hash = locationHash();
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
else if( config.hash ) {
|
|
|
- window.history.replaceState(null, null, '#' + locationHash());
|
|
|
+ window.history.replaceState( null, null, '#' + locationHash() );
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ else {
|
|
|
+ window.history.replaceState( null, null, window.location.pathname + window.location.search );
|
|
|
}
|
|
|
- else {
|
|
|
- window.location.hash = '';
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
-
|
|
|
-
|
|
|
}
|
|
|
|
|
|
* Retrieves the h/v location and fragment of the current,
|