From 4a8f3e98c1c98765c802e91dde1b2092cbd2e46b Mon Sep 17 00:00:00 2001
From: Ishitva Goel <ishitva.goel@yahoo.co.in>
Date: Tue, 4 Mar 2014 23:56:49 +0100
Subject: [PATCH] Bug 387593: Remove debug code from attachment.js r=LpSolit
 a=justdave

---
 js/attachment.js | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/js/attachment.js b/js/attachment.js
index d9bdabc4e..09401f07d 100644
--- a/js/attachment.js
+++ b/js/attachment.js
@@ -236,11 +236,6 @@ function viewRaw(patchviewerinstalled)
 
 function switchToMode(mode, patchviewerinstalled)
 {
-    if (mode == current_mode) {
-      alert('switched to same mode!  This should not happen.');
-      return;
-    }
-
     // Switch out of current mode
     if (current_mode == 'edit') {
       hideElementById('editFrame');
-- 
2.24.1