mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
fix(pdf): incorrect styles for the external window pdf viewer
This commit is contained in:
@@ -105,8 +105,9 @@
|
||||
(js/console.error e)))))))
|
||||
|
||||
(defn clear-all-selection
|
||||
[]
|
||||
(.removeAllRanges (js/window.getSelection)))
|
||||
([] (clear-all-selection js/window))
|
||||
([^js win]
|
||||
(some-> win (.getSelection) (.removeAllRanges))))
|
||||
|
||||
(def adjust-viewer-size!
|
||||
(util/debounce
|
||||
|
||||
Reference in New Issue
Block a user