aboutsummaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorIshitva Goel <ishitva.goel@yahoo.co.in>2014-03-04 23:56:49 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-03-04 23:56:49 +0100
commit4a8f3e98c1c98765c802e91dde1b2092cbd2e46b (patch)
tree6728ddf355320d82e104878228fa281fb4d0af31 /js
parenta8b1607938852a61ae05df41681693347dcfaae9 (diff)
downloadbugs-4a8f3e98c1c98765c802e91dde1b2092cbd2e46b.tar
bugs-4a8f3e98c1c98765c802e91dde1b2092cbd2e46b.tar.gz
bugs-4a8f3e98c1c98765c802e91dde1b2092cbd2e46b.tar.bz2
bugs-4a8f3e98c1c98765c802e91dde1b2092cbd2e46b.tar.xz
bugs-4a8f3e98c1c98765c802e91dde1b2092cbd2e46b.zip
Bug 387593: Remove debug code from attachment.js
r=LpSolit a=justdave
Diffstat (limited to 'js')
-rw-r--r--js/attachment.js5
1 files changed, 0 insertions, 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');