diff options
Diffstat (limited to 'js/galleryview.js')
-rw-r--r-- | js/galleryview.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/js/galleryview.js b/js/galleryview.js index ca6f9d42..4af069e9 100644 --- a/js/galleryview.js +++ b/js/galleryview.js @@ -1,6 +1,6 @@ -/* global OC, t, $, _, Gallery */ -(function () { - +/* global Gallery, SlideShow */ +(function (OC, t, $, _) { + "use strict"; /** * Builds and updates the Gallery view * @@ -44,6 +44,8 @@ $('#sort-date-button').click(Gallery.sorter); $('#save #save-button').click(Gallery.showSaveForm); $('.save-form').submit(Gallery.saveForm); + Gallery.activeSlideShow = new SlideShow($('#slideshow')); + Gallery.activeSlideShow.init(false, null); } this.viewAlbum(albumPath); } @@ -272,4 +274,4 @@ }; Gallery.View = View; -})(); +})(OC, t, jQuery, _); |