www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit a6f253b46a2c014b985ef0210a4467cb05925ab5
parent 2903fd27efa61fd34d152afa0ace435a1dd50c3c
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 14 Feb 2012 00:40:17 -0500

Knock off beginning rather than end of errors

Diffstat:
Mchrome/content/zotero/xpcom/zotero.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -1908,7 +1908,7 @@ const ZOTERO_CONFIG = { Components.interfaces.nsISupports]), "observe":function(msg) { if(!_shouldKeepError(msg)) return; - if(_recentErrors.length === ERROR_BUFFER_SIZE) _recentErrors.pop(); + if(_recentErrors.length === ERROR_BUFFER_SIZE) _recentErrors.shift(); _recentErrors.push(msg); } };