Skip to content

Commit

Permalink
Call shadow-root with the correct args
Browse files Browse the repository at this point in the history
Fixes #411
  • Loading branch information
kimo-k committed Feb 7, 2024
1 parent 48a7864 commit 1958ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/day8/re_frame_10x/navigation/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
;; When programming here, we need to be careful about which document and window
;; we are operating on, and keep in mind that the window can close without going
;; through standard react lifecycle, so we hook the beforeunload event.
(let [shadow-root (tools.shadow-dom/shadow-root popup-document "--re-frame-10x--" (inline-resource "day8/re_frame_10x/style.css"))
(let [shadow-root (tools.shadow-dom/shadow-root popup-document "--re-frame-10x--")
spade-container (spade.dom/create-container shadow-root)
resize-update-scheduled? (atom false)
handle-window-resize (fn [_]
Expand Down

0 comments on commit 1958ecd

Please sign in to comment.