fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Czytanie plików PNG a nie JPG w galerii.
[redakcja.git]
/
platforma
/
static
/
js
/
main.js
diff --git
a/platforma/static/js/main.js
b/platforma/static/js/main.js
index
c88f293
..
0928bf8
100644
(file)
--- 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() {
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();
});
$('.gallery-image').animate({top: 53}, 200);
$('.chosen-gallery').focus();
});