diff --git a/vue3/src/pages/RecipeImportPage.vue b/vue3/src/pages/RecipeImportPage.vue index b27594d98..95976a075 100644 --- a/vue3/src/pages/RecipeImportPage.vue +++ b/vue3/src/pages/RecipeImportPage.vue @@ -492,7 +492,7 @@ const bookmarkletContent = computed(() => { `localStorage.setItem("importURL", "${getDjangoUrl('/api/bookmarklet-import/')}");` + `localStorage.setItem("redirectURL", "${getDjangoUrl('/recipe/import/')}");` + `localStorage.setItem("token", "${bookmarkletToken.value}");` + - `document.body.appendChild(document.createElement("script")).src="${bookmarkletJs}?r="+Math.floor(Math.random()*999999999)}` + + `document.body.appendChild(document.createElement("script")).src="${bookmarkletJs}"}` + `})()` }) @@ -835,4 +835,4 @@ function loadOrCreateBookmarkletToken() { \ No newline at end of file +