0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 16:48:16 -05:00

Open URL in new tab for viewer interaction

This commit is contained in:
mathieu.brunot 2019-02-23 12:45:39 +01:00
parent 2d91c93194
commit 91d4417859
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -167,7 +167,7 @@
(defn- run-gotourl-interaction
[{:keys [url]}]
(set! (.-href js/location) url))
(js/window.open url "_blank"))
(defn- run-gotopage-interaction
[{:keys [page]}]