X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/14bd9f367ed01cb56bdf82356f7ab55bfffb17d4..ff573698a8b017b1a70fafbfda44452b2c8d78c1:/redakcja/static/js/wiki/view_gallery.js

diff --git a/redakcja/static/js/wiki/view_gallery.js b/redakcja/static/js/wiki/view_gallery.js
index 315a421b..65a716af 100644
--- a/redakcja/static/js/wiki/view_gallery.js
+++ b/redakcja/static/js/wiki/view_gallery.js
@@ -72,6 +72,10 @@
                 self.setPage($(this).val());
             });
                     
+	    $('.start-page', this.$element).click(function(){
+		self.setPage(CurrentDocument.galleryStart);
+	    });
+
             $('.previous-page', this.$element).click(function(){
                 self.setPage(parseInt(self.$numberInput.val(),10) - 1);
             });