Skip to content

Commit

Permalink
Merge pull request #47 from z-vr/feature/emit-close-id-pr
Browse files Browse the repository at this point in the history
emit id on close
tbleckert authored Feb 12, 2018
2 parents 9f7a181 + 16e7945 commit 7086177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Store.js
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@ export default class PopupStore extends EventEmitter {
const id = this.active;
this.active = null;

this.emit(Constants.CLOSE);
this.emit(Constants.CLOSE, id);
this.dispatch();

this.value = null;

0 comments on commit 7086177

Please sign in to comment.