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:
authorOlivier Paroz <github@oparoz.com>2015-04-09 16:34:45 +0300
committerOlivier Paroz <github@oparoz.com>2015-04-09 16:34:45 +0300
commitb351591e961715de61ae61165201f04780fc06bd (patch)
tree0bc02f01a708beef8140238b41266551d90b736e /js/galleryview.js
parent5a9fe69f309476d815f06c758dc055de3c6ed6f3 (diff)
Code style fixing
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) {