Skip to content

Commit 40a7db0

Browse files
authored
Merge pull request #3702 from tomtjes/vue3
fix bookmarklet
2 parents 20f0661 + e57ab18 commit 40a7db0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vue3/src/pages/RecipeImportPage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ const bookmarkletContent = computed(() => {
499499
`localStorage.setItem("importURL", "${getDjangoUrl('/api/bookmarklet-import/')}");` +
500500
`localStorage.setItem("redirectURL", "${getDjangoUrl('/recipe/import/')}");` +
501501
`localStorage.setItem("token", "${bookmarkletToken.value}");` +
502-
`document.body.appendChild(document.createElement("script")).src="${bookmarkletJs}?r="+Math.floor(Math.random()*999999999)}` +
502+
`document.body.appendChild(document.createElement("script")).src="${bookmarkletJs}"}` +
503503
`})()`
504504
})
505505
@@ -856,4 +856,4 @@ function loadOrCreateBookmarkletToken() {
856856

857857
<style scoped>
858858
859-
</style>
859+
</style>

0 commit comments

Comments
 (0)