Bug 1497328 - Remove duplicate switch cases from MessageWindowController's isCommandEnabled(). r=aceman
authorJosiah Bruner <jsbruner@umich.edu>
Mon, 08 Oct 2018 16:46:00 +0200
changeset 33343 3402a188cb8ed7dc9c9a2f7c9fd99cefb493e2a0
parent 33342 5489fbd9959b2f3e5109c6c8af10d5bd7a406b01
child 33344 641adfb294373fa55e06b72876829c115259425e
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersaceman
bugs1497328
Bug 1497328 - Remove duplicate switch cases from MessageWindowController's isCommandEnabled(). r=aceman
mail/base/content/messageWindow.js
--- a/mail/base/content/messageWindow.js
+++ b/mail/base/content/messageWindow.js
@@ -1043,18 +1043,16 @@ var MessageWindowController =
       case "cmd_nextUnreadThread":
       case "button_previousMsg":
       case "cmd_previousMsg":
       case "button_previous":
       case "cmd_previousUnreadMsg":
       case "cmd_previousFlaggedMsg":
       case "cmd_findAgain":
       case "cmd_findPrevious":
-      case "cmd_goForward":
-      case "cmd_goBack":
       case "cmd_applyFiltersToSelection":
       case "cmd_fullZoomReduce":
       case "cmd_fullZoomEnlarge":
       case "cmd_fullZoomReset":
       case "cmd_fullZoomToggle":
         return true;
       case "button_goForward":
       case "button_goBack":