From d7e38d960e94c9ba24fe13269b3d43653df6e0cd Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 26 May 2016 00:34:25 -0400 Subject: [PATCH] Fix error in console on feed update before pane open --- chrome/content/zotero/xpcom/collectionTreeView.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js index f1523b03a6..aa26f30b5b 100644 --- a/chrome/content/zotero/xpcom/collectionTreeView.js +++ b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -318,13 +318,6 @@ Zotero.CollectionTreeView.prototype.selectWait = Zotero.Promise.method(function * Called by Zotero.Notifier on any changes to collections in the data layer */ Zotero.CollectionTreeView.prototype.notify = Zotero.Promise.coroutine(function* (action, type, ids, extraData) { - if (type == 'feed' && (action == 'unreadCountUpdated' || action == 'statusChanged')) { - for (let i=0; i