X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f18572dbe8b4b604a63cb58170f7755ec9793842..529a7fdd7e951756677ea7705dfac67e8171bdfe:/platforma/static/js/main.js diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index c88f2930..0928bf8d 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -94,7 +94,7 @@ function gallery(element, url) { zoom(); }); $('.change-gallery', element).click(function() { - $('.chosen-gallery').val($('#document-meta .gallery').html() || STATIC_URL + 'gallery/'); + $('.chosen-gallery').val($('#document-meta .gallery').html() || '/platforma/gallery/'); $('.gallery-image').animate({top: 53}, 200); $('.chosen-gallery').focus(); });