Commit 4a8f3e98 authored by Ishitva Goel's avatar Ishitva Goel Committed by Frédéric Buclin

Bug 387593: Remove debug code from attachment.js

r=LpSolit a=justdave
parent a8b16079
......@@ -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');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment