mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
@@ -81,8 +81,9 @@
|
||||
|
||||
(defn scroll-and-highlight!
|
||||
[state]
|
||||
(when-let [fragment (util/get-fragment)]
|
||||
(highlight-element! fragment))
|
||||
(if-let [fragment (util/get-fragment)]
|
||||
(highlight-element! fragment)
|
||||
(util/scroll-to-top))
|
||||
state)
|
||||
|
||||
(defn add-style-if-exists!
|
||||
|
||||
Reference in New Issue
Block a user