aboutsummaryrefslogtreecommitdiffhomepage
path: root/assets
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2021-01-26 16:25:09 +0100
committerGitHub <noreply@github.com>2021-01-26 16:25:09 +0100
commit83b4eb17958c0c03bea637db7e394f6d622aeb00 (patch)
tree240550ec1efca8b380570044939741813bd5bfd9 /assets
parentd496fd857d86bab793e358b91f06ea2ed0b597ae (diff)
parent3d6278e86fc5ab5756ce39ef3d1f299fb614ca2a (diff)
downloadShaarli-83b4eb17958c0c03bea637db7e394f6d622aeb00.tar.gz
Shaarli-83b4eb17958c0c03bea637db7e394f6d622aeb00.tar.zst
Shaarli-83b4eb17958c0c03bea637db7e394f6d622aeb00.zip
Merge pull request #1694 from ArthurHoaro/fix/bulk-add-redirect-token
Fix: bulk add redirection with ending slash
Diffstat (limited to 'assets')
-rw-r--r--assets/common/js/shaare-batch.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/common/js/shaare-batch.js b/assets/common/js/shaare-batch.js
index 4a1fdb2e..6fc16faf 100644
--- a/assets/common/js/shaare-batch.js
+++ b/assets/common/js/shaare-batch.js
@@ -104,7 +104,7 @@ const redirectIfEmptyBatch = (basePath, formElements, path) => {
104 }); 104 });
105 105
106 Promise.all(promises).then(() => { 106 Promise.all(promises).then(() => {
107 window.location.href = basePath || '/'; 107 window.location.href = `${basePath}/`;
108 }); 108 });
109 }); 109 });
110 }); 110 });