diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-01-23 22:26:38 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | bee33239ed444f9724422fe5234cd79997500519 (patch) | |
tree | 67e8a675d4151ea8561f7f89cf92f8009c2a0f07 /assets/common | |
parent | b8e3630f2ecd142d397b1b062a346a667bb78595 (diff) | |
download | Shaarli-bee33239ed444f9724422fe5234cd79997500519.tar.gz Shaarli-bee33239ed444f9724422fe5234cd79997500519.tar.zst Shaarli-bee33239ed444f9724422fe5234cd79997500519.zip |
Fix all relative link to work with new URL
Diffstat (limited to 'assets/common')
-rw-r--r-- | assets/common/js/thumbnails-update.js | 2 |
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 | */ |
17 | function updateThumb(ids, i, elements) { | 17 | function 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 = () => { |