Fix bookmarklet share link (#35)
For some reason, Twitter (and possibly other sites!) cut closing parens from the "Copy this link to share ⤴️" link. So a quick-and-dirty fix is to just append a bit of whitespace. A little more context (with pictures): https://twitter.com/CarnunMP/status/1559148858118111234
This commit is contained in:
parent
fe353c4c08
commit
a698bd4ed9
|
@ -134,6 +134,7 @@
|
||||||
[:br]
|
[:br]
|
||||||
[(fn []
|
[(fn []
|
||||||
[:a {:href (str "?name=" (js/encodeURIComponent @*bookmark-name)
|
[:a {:href (str "?name=" (js/encodeURIComponent @*bookmark-name)
|
||||||
"&code=" (js/encodeURIComponent @*code))} "Copy this link to share ⤴️"])]]))
|
"&code=" (js/encodeURIComponent @*code)
|
||||||
|
" ")} "Copy this link to share ⤴️"])]]))
|
||||||
|
|
||||||
(rdom/render [workspace] (.getElementById js/document "app"))
|
(rdom/render [workspace] (.getElementById js/document "app"))
|
||||||
|
|
Loading…
Reference in a new issue