Poprawienie URLi w galerii.
[redakcja.git] / platforma / static / js / main.js
index c88f293..0928bf8 100644 (file)
@@ -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();
     });