mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 20:47:13 +02:00
✨ Reload viewer and reset starting frame from workspace
This commit is contained in:
parent
b4c23f3554
commit
5641132eb9
2 changed files with 5 additions and 2 deletions
|
@ -478,7 +478,9 @@
|
|||
([uri name]
|
||||
(open-new-window uri name "noopener,noreferrer"))
|
||||
([uri name features]
|
||||
(.open js/window (str uri) name features)))
|
||||
(let [new-window (.open js/window (str uri) name features)]
|
||||
(when (not= name "_blank")
|
||||
(.reload (.-location new-window))))))
|
||||
|
||||
(defn browser-back
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue