]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - assets/common/js/thumbnails-update.js
Fix all relative link to work with new URL
[github/shaarli/Shaarli.git] / assets / common / js / thumbnails-update.js
index b66ca3ae1e5114bc8e3d2a73abb29d8b0d389a6d..060a730e50005c9c5fae413ed1f4d58c8c257c6d 100644 (file)
@@ -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 = () => {