X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/1896ffefd4c448d4445bb510e9ac5992a8f20361..66c6a11da0b0128e1693582dbbb8b375fd4aedb9:/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 1be30bf6..ec486bc0 100644 --- a/redakcja/static/js/wiki/view_gallery.js +++ b/redakcja/static/js/wiki/view_gallery.js @@ -139,7 +139,7 @@ ScanGalleryPerspective.prototype.setPage = function(newPage){ newPage = normalizeNumber(newPage, this.doc.galleryImages.length); - $('#imagesCount').val(this.doc.galleryImages.length); + $('#imagesCount').html("/"+this.doc.galleryImages.length); this.$numberInput.val(newPage); this.config().page = newPage; $('.gallery-image img', this.$element).attr('src', this.doc.galleryImages[newPage - 1]);