From bee33239ed444f9724422fe5234cd79997500519 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Thu, 23 Jan 2020 22:26:38 +0100 Subject: Fix all relative link to work with new URL --- assets/common/js/thumbnails-update.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'assets/common') 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 @@ */ function updateThumb(ids, i, elements) { const xhr = new XMLHttpRequest(); - xhr.open('POST', '?do=ajax_thumb_update'); + xhr.open('POST', './?do=ajax_thumb_update'); xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xhr.responseType = 'json'; xhr.onload = () => { -- cgit v1.2.3