diff options
author | lxf <sng@luxagraf.net> | 2022-05-09 11:17:52 -0400 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2022-05-09 11:17:52 -0400 |
commit | 5c911738b283461867892e354a5a3c1776597951 (patch) | |
tree | 7e765d9b354a2c9f6ea09d94892b1c54eba1af6c /app/utils | |
parent | 9043217994b9b447ae73d16247e95e6f0a81b854 (diff) |
media: fixed thumbnail preview in admin image select widget
Diffstat (limited to 'app/utils')
-rw-r--r-- | app/utils/static/image-loader.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/utils/static/image-loader.js b/app/utils/static/image-loader.js index 5a5b3b4..ca96565 100644 --- a/app/utils/static/image-loader.js +++ b/app/utils/static/image-loader.js @@ -13,9 +13,9 @@ function add_images(){ var loop = Number(element.dataset.loopcounter); if (cur != "") { if (loop <= 100) { - console.log('/photos/luximage/data/admin/tn/'+cur+'/'); + console.log('/photos/data/admin/tn/'+cur+'/'); var request = new XMLHttpRequest(); - request.open('GET', '/photos/luximage/data/admin/tn/'+cur+'/', true); + request.open('GET', '/photos/data/admin/tn/'+cur+'/', true); request.onload = function() { if (request.status >= 200 && request.status < 400) { var data = JSON.parse(request.responseText); |