X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/2de0fde86873c879961365b4b9ce3904a158e84f..4cab8b0725fd5a88f5a508e584b4acd346a824fc:/src/redakcja/static/js/wiki/view_gallery.js diff --git a/src/redakcja/static/js/wiki/view_gallery.js b/src/redakcja/static/js/wiki/view_gallery.js index e04342ff..5152f439 100644 --- a/src/redakcja/static/js/wiki/view_gallery.js +++ b/src/redakcja/static/js/wiki/view_gallery.js @@ -150,7 +150,7 @@ newPage = normalizeNumber(newPage, this.doc.galleryImages.length); this.$numberInput.val(newPage); this.config().page = newPage; - $('.gallery-image img', this.$element).attr('src', this.doc.galleryImages[newPage - 1]); + $('.gallery-image img', this.$element).attr('src', this.doc.galleryImages[newPage - 1].url); }; ScanGalleryPerspective.prototype.alterZoom = function(delta){