summaryrefslogtreecommitdiff
path: root/static/js/mail.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/js/mail.js')
-rw-r--r--static/js/mail.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/static/js/mail.js b/static/js/mail.js
index 1622b37..fd02120 100644
--- a/static/js/mail.js
+++ b/static/js/mail.js
@@ -258,15 +258,10 @@ document.addEventListener('DOMContentLoaded', function () {
function createBody(email) {
const body = document.createElement('div');
body.className = 'email-body';
-
- // Respect DisplayHTML preference
const displayHTML = prefs.DisplayHTML;
if (displayHTML && email.Body) {
- // Use ShadowRenderer library to encapsulate styles
const shadow = ShadowRenderer.render(body, email.Body);
-
- // Handle remote content based on LoadRemoteContent preference
handleRemoteContent(shadow);
} else {
const pre = document.createElement('pre');