Skip to content

Commit

Permalink
fix: Fixed typo that sometimes prevented the detach event from firing…
Browse files Browse the repository at this point in the history
… on Key
  • Loading branch information
mrfigg committed Apr 19, 2023
1 parent 2ccd73d commit 66068bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -843,7 +843,7 @@ class Page extends EventEmitter {

this.STREAMDECK.emit('detach', attachedIndex, this, attachedKey)
this.emit('detach', attachedIndex, this, attachedKey)
key.emit('detach', attachedIndex, this, attachedKey)
attachedKey.emit('detach', attachedIndex, this, attachedKey)

break
}
Expand Down

0 comments on commit 66068bd

Please sign in to comment.