aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets/common/js
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2020-01-23 22:26:38 +0100
committerArthurHoaro <arthur@hoa.ro>2020-07-23 21:19:21 +0200
commitbee33239ed444f9724422fe5234cd79997500519 (patch)
tree67e8a675d4151ea8561f7f89cf92f8009c2a0f07 /assets/common/js
parentb8e3630f2ecd142d397b1b062a346a667bb78595 (diff)
downloadShaarli-bee33239ed444f9724422fe5234cd79997500519.tar.gz
Shaarli-bee33239ed444f9724422fe5234cd79997500519.tar.zst
Shaarli-bee33239ed444f9724422fe5234cd79997500519.zip
Fix all relative link to work with new URL
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 = () => {