Bug 1540438 - Fix misleading if/then indent. r=frg a=frg
authorBen Campbell <benc@thunderbird.net>
Mon, 08 Apr 2019 09:40:09 +1200
changeset 32160 88c79646ff8a
parent 32159 ddba50d16f86
child 32161 c0be1d9ed587
push id183
push userfrgrahl@gmx.net
push dateThu, 11 Apr 2019 18:31:37 +0000
treeherdercomm-esr60@8e29ae45df19 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfrg, frg
bugs1540438
Bug 1540438 - Fix misleading if/then indent. r=frg a=frg
suite/mailnews/content/mail3PaneWindowCommands.js
--- a/suite/mailnews/content/mail3PaneWindowCommands.js
+++ b/suite/mailnews/content/mail3PaneWindowCommands.js
@@ -35,18 +35,18 @@ var FolderPaneController =
         return false;
       case "cmd_delete":
       case "cmd_shiftDelete":
       case "button_delete":
         // Make sure the button doesn't show "Undelete" for folders.
         if (command == "button_delete")
           UpdateDeleteToolbarButton(true);
       case "button_shiftDelete":
-      if ( command == "cmd_delete" )
-        goSetMenuValue(command, 'valueFolder');
+        if ( command == "cmd_delete" )
+          goSetMenuValue(command, 'valueFolder');
         let folders = GetSelectedMsgFolders();
 
         if (folders.length) {
           var canDeleteThisFolder;
         var specialFolder = null;
         var isServer = null;
         try {
           let folder = folders[0];