Skip to content

Commit 66068bd

Browse files
committed
fix: Fixed typo that sometimes prevented the detach event from firing on Key
1 parent 2ccd73d commit 66068bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ class Page extends EventEmitter {
843843

844844
this.STREAMDECK.emit('detach', attachedIndex, this, attachedKey)
845845
this.emit('detach', attachedIndex, this, attachedKey)
846-
key.emit('detach', attachedIndex, this, attachedKey)
846+
attachedKey.emit('detach', attachedIndex, this, attachedKey)
847847

848848
break
849849
}

0 commit comments

Comments
 (0)