diff --git a/vue3/src/pages/RecipeImportPage.vue b/vue3/src/pages/RecipeImportPage.vue index 8943b477a..4b64194fe 100644 --- a/vue3/src/pages/RecipeImportPage.vue +++ b/vue3/src/pages/RecipeImportPage.vue @@ -499,7 +499,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}"}` + `})()` }) @@ -856,4 +856,4 @@ function loadOrCreateBookmarkletToken() { \ No newline at end of file +