Skip to content

Commit

Permalink
disallow hx-target, hx-select to be inherited in session-card
Browse files Browse the repository at this point in the history
  • Loading branch information
humorless committed Aug 1, 2024
1 parent 9157df2 commit aca69c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/co/gaiwan/compass/html/sessions.clj
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
:hx-trigger (str "session-" (:db/id session) "-updated from:body")
:hx-target (str "closest ." session-card)
:hx-select (str "." session-card " > *")
:hx-disinherit "hx-target hx-select "
:style {--session-type-color (:session.type/color type)}
:cx-toggle "expanded"
:cx-target (str "." session-card)}
Expand Down

0 comments on commit aca69c0

Please sign in to comment.