Skip to content
This repository was archived by the owner on Nov 18, 2025. It is now read-only.

Commit bd36bb7

Browse files
committed
emit id on close
1 parent 3802ebf commit bd36bb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default class PopupStore extends EventEmitter {
3838
const id = this.active;
3939
this.active = null;
4040

41-
this.emit(Constants.CLOSE);
41+
this.emit(Constants.CLOSE, id);
4242
this.dispatch();
4343

4444
this.value = null;

0 commit comments

Comments
 (0)