diff --git a/chrome/content/zotero/xpcom/libraryTreeView.js b/chrome/content/zotero/xpcom/libraryTreeView.js index 9dd5cd89d..b35309ff7 100644 --- a/chrome/content/zotero/xpcom/libraryTreeView.js +++ b/chrome/content/zotero/xpcom/libraryTreeView.js @@ -130,7 +130,7 @@ Zotero.LibraryTreeView.prototype = { * Restore a scroll position returned from _saveScrollPosition() */ _rememberScrollPosition: function (scrollPosition) { - if (!scrollPosition) { + if (!scrollPosition || !scrollPosition.id) { return; } var row = this.getRowIndexByID(scrollPosition.id);