Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/gallery.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'js/galleryfileaction.js')
-rw-r--r--js/galleryfileaction.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/galleryfileaction.js b/js/galleryfileaction.js
index 2c1f1752..d792817a 100644
--- a/js/galleryfileaction.js
+++ b/js/galleryfileaction.js
@@ -93,7 +93,8 @@ var galleryFileAction = {
}
var slideShow = new SlideShow($('#slideshow'), images);
slideShow.onStop = function () {
- location.hash = '';
+ history.pushState("", document.title,
+ window.location.pathname + window.location.search);
};
slideShow.init();
slideShow.show(start);