From c0392a60c8a0b6158255b516f30eb79e43971b6b Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Tue, 5 Jul 2016 11:20:48 -0400
Subject: Fix RHS adding an unecessary preference store listener and increase
 preference store listener max to 25 (#3473)

---
 webapp/stores/preference_store.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'webapp/stores/preference_store.jsx')

diff --git a/webapp/stores/preference_store.jsx b/webapp/stores/preference_store.jsx
index 1e024e60b..324ec4864 100644
--- a/webapp/stores/preference_store.jsx
+++ b/webapp/stores/preference_store.jsx
@@ -113,5 +113,6 @@ class PreferenceStoreClass extends EventEmitter {
 }
 
 const PreferenceStore = new PreferenceStoreClass();
+PreferenceStore.setMaxListeners(25);
 export default PreferenceStore;
 global.window.PreferenceStore = PreferenceStore;
-- 
cgit v1.2.3-1-g7c22

