summaryrefslogtreecommitdiff
path: root/skins/classic/templates/messagepreview.html
diff options
context:
space:
mode:
Diffstat (limited to 'skins/classic/templates/messagepreview.html')
-rw-r--r--skins/classic/templates/messagepreview.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/skins/classic/templates/messagepreview.html b/skins/classic/templates/messagepreview.html
index 80dbe381a..b42a06342 100644
--- a/skins/classic/templates/messagepreview.html
+++ b/skins/classic/templates/messagepreview.html
@@ -6,7 +6,7 @@
<script type="text/javascript" src="/splitter.js"></script>
<script type="text/javascript" src="/functions.js"></script>
</head>
-<body class="iframe" onload="rcube_init_mail_ui()">
+<body class="iframe">
<div class="messageheaderbox">
<div id="messagelinks">
@@ -34,5 +34,9 @@
</ul>
</div>
+<script type="text/javascript">
+rcube_init_mail_ui();
+</script>
+
</body>
</html>