mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
@@ -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() {
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user