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.js10
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, _);