From 16e7945b2d01c1d21e4b4187353cc49559bb6b66 Mon Sep 17 00:00:00 2001 From: Anton Date: Tue, 23 Jan 2018 13:13:24 +0000 Subject: [PATCH] emit id on close --- src/Store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Store.js b/src/Store.js index c8caa39..14df67f 100644 --- a/src/Store.js +++ b/src/Store.js @@ -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;