From 4a8f3e98c1c98765c802e91dde1b2092cbd2e46b Mon Sep 17 00:00:00 2001 From: Ishitva Goel Date: Tue, 4 Mar 2014 23:56:49 +0100 Subject: Bug 387593: Remove debug code from attachment.js r=LpSolit a=justdave --- js/attachment.js | 5 ----- 1 file changed, 5 deletions(-) (limited to 'js') 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'); -- cgit v1.2.3-24-g4f1b