diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 9d112f471..89cd65a9e 100644 --- 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); } };