X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=assets%2Fcommon%2Fjs%2Fshaare-batch.js;h=3324193f9f00a1fc6cb32fb3112367b9d9342dac;hb=3d6278e86fc5ab5756ce39ef3d1f299fb614ca2a;hp=557325ee373f9c85fc6287674f110096f379e7f1;hpb=e6754f2154a79abd8e5e64bd923f6984aa9ad44b;p=github%2Fshaarli%2FShaarli.git diff --git a/assets/common/js/shaare-batch.js b/assets/common/js/shaare-batch.js index 557325ee..3324193f 100644 --- a/assets/common/js/shaare-batch.js +++ b/assets/common/js/shaare-batch.js @@ -100,7 +100,7 @@ const redirectIfEmptyBatch = (basePath, formElements, path) => { }); Promise.all(promises).then(() => { - window.location.href = basePath || '/'; + window.location.href = `${basePath}/`; }); }); });