Skip to content

Commit

Permalink
Fix bun in Attachable
Browse files Browse the repository at this point in the history
  • Loading branch information
hpehl committed Nov 30, 2023
1 parent b8a1c39 commit b4885e0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Fixed

- Fix bug in `Attachable`

## [1.2.8] - 2023-11-28

### Added
Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/org/jboss/elemento/Attachable.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public interface Attachable {
static void register(HTMLElement element, Attachable attachable) {
if (element != null) {
addAttachObserver(element, attachable::attach);
addDetachObserver(element, attachable::attach);
addDetachObserver(element, attachable::detach);
}
}

Expand Down

0 comments on commit b4885e0

Please sign in to comment.