diff options
author | Olivier Paroz <github@oparoz.com> | 2015-04-09 16:34:45 +0300 |
---|---|---|
committer | Olivier Paroz <github@oparoz.com> | 2015-04-09 16:34:45 +0300 |
commit | b351591e961715de61ae61165201f04780fc06bd (patch) | |
tree | 0bc02f01a708beef8140238b41266551d90b736e /js/galleryview.js | |
parent | 5a9fe69f309476d815f06c758dc055de3c6ed6f3 (diff) |
Code style fixing
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 8 |
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) { |