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/galleryview.js')
-rw-r--r--js/galleryview.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/galleryview.js b/js/galleryview.js
index f6ba8c5c..e1950c1b 100644
--- a/js/galleryview.js
+++ b/js/galleryview.js
@@ -1,4 +1,4 @@
-/* global OC, $, _, Gallery, Album, GalleryImage, SlideShow */
+/* global OC, oc_requesttoken, $, _, Gallery, Album */
(function () {
/**
@@ -262,10 +262,10 @@
// Something went wrong, so kill the loader
view.loadVisibleRows.loading = null;
});
- } else {
- // This is the safest way to do things
- view.viewAlbum(Gallery.currentAlbum);
}
+ // This is the safest way to do things
+ view.viewAlbum(Gallery.currentAlbum);
+
});
};
if (this.element.height() < targetHeight) {