mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
fix bookmarklet, React 19 no longer allows 'javascript:' urls
This commit is contained in:
@@ -41,7 +41,7 @@ function NextUnreadBookmarklet() {
|
||||
const { _ } = useLingui()
|
||||
|
||||
const baseUrl = window.location.href.substring(0, window.location.href.lastIndexOf("#"))
|
||||
const href = `javascript:window.location.href='${baseUrl}next?category=${categoryId}&order=${order}&t='+new Date().getTime();`
|
||||
const href = `${baseUrl}next?category=${categoryId}&order=${order}`
|
||||
|
||||
return (
|
||||
<Box>
|
||||
|
||||
Reference in New Issue
Block a user