X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/df341bdd09208d2b0f84060454cc0000df19deba..8e8b2c44fc1345b2b4ae2806f2ef5f2187d760c0:/src/redakcja/static/js/wiki/view_gallery.js?ds=sidebyside 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){