fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add tag ramka
[redakcja.git]
/
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
315a421
..
65a716a
100644
(file)
--- a/
redakcja/static/js/wiki/view_gallery.js
+++ b/
redakcja/static/js/wiki/view_gallery.js
@@
-72,6
+72,10
@@
self.setPage($(this).val());
});
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);
});
$('.previous-page', this.$element).click(function(){
self.setPage(parseInt(self.$numberInput.val(),10) - 1);
});