diff options
-rw-r--r-- | js/galleryview.js | 8 | ||||
-rw-r--r-- | js/slideshow.js | 2 |
2 files changed, 5 insertions, 5 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) { diff --git a/js/slideshow.js b/js/slideshow.js index 72a63a2c..98e801b8 100644 --- a/js/slideshow.js +++ b/js/slideshow.js @@ -1,4 +1,4 @@ -/* global jQuery, OC ,OCA, $, t, oc_requesttoken, SlideShowControls, bigshot */ +/* global jQuery, OC ,OCA, $, t, oc_requesttoken, bigshot */ /** * * @param {jQuery} container |