summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 4017fa356..b6ffb5e51 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -6809,15 +6809,6 @@ function rcube_webmail()
return 1;
}
- // this will detect any pdf plugin including PDF.js in Firefox
- var obj = document.createElement('OBJECT');
- obj.onload = function() { rcmail.env.browser_capabilities.pdf = 1; };
- obj.onerror = function() { rcmail.env.browser_capabilities.pdf = 0; };
- obj.style.display = 'none';
- obj.type = 'application/pdf';
- obj.data = 'program/resources/blank.pdf';
- document.body.appendChild(obj);
-
return 0;
};