aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/common/js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/common/js')
-rw-r--r--assets/common/js/thumbnails-update.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/common/js/thumbnails-update.js b/assets/common/js/thumbnails-update.js
index b66ca3ae..060a730e 100644
--- a/assets/common/js/thumbnails-update.js
+++ b/assets/common/js/thumbnails-update.js
@@ -16,7 +16,7 @@
16 */ 16 */
17function updateThumb(ids, i, elements) { 17function updateThumb(ids, i, elements) {
18 const xhr = new XMLHttpRequest(); 18 const xhr = new XMLHttpRequest();
19 xhr.open('POST', '?do=ajax_thumb_update'); 19 xhr.open('POST', './?do=ajax_thumb_update');
20 xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); 20 xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
21 xhr.responseType = 'json'; 21 xhr.responseType = 'json';
22 xhr.onload = () => { 22 xhr.onload = () => {