From 84a8cadd559b30b98b34d9811809077d360fceb2 Mon Sep 17 00:00:00 2001 From: Magnus Melin Date: Thu, 31 Aug 2023 08:26:08 +0300 Subject: [PATCH] Bug 1850283 - follow-up to fix linting. rs=eslint DONTBUILD --HG-- extra : amend_source : 1ed2c3dc548f087f04d9e6b54637622d88b8fdef --- mail/base/content/folderDisplay.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mail/base/content/folderDisplay.js b/mail/base/content/folderDisplay.js index e99cd53128..b0d38ad9ea 100644 --- a/mail/base/content/folderDisplay.js +++ b/mail/base/content/folderDisplay.js @@ -1152,10 +1152,7 @@ FolderDisplayWidget.prototype = { // persistent than our saveSelection/restoreSelection stuff), and the view // is backed by a single underlying folder (the only way having just a // message key works out), try that - if ( - this.view.isSingleFolder && - this.view.displayedFolder - ) { + if (this.view.isSingleFolder && this.view.displayedFolder) { // use the displayed folder; nsMsgDBView goes to the effort to save the // state to the viewFolder, so this is the correct course of action. let lastLoadedMessageKey = this.view.displayedFolder.lastMessageLoaded;