Apply prettier formatting

This commit is contained in:
Michael Weimann
2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
1576 changed files with 65384 additions and 62477 deletions
+4 -5
View File
@@ -1,12 +1,11 @@
<html>
<head>
<!--
<head>
<!--
Hello! If you're reading this, perhaps you're wondering what this
file is doing and why your Element is using it.
In short, this allows Element to isolate potentially unsafe encrypted
attachments into their own origin, away from your Element.
Stay curious!
-->
</head>
<body></body>
--></head>
<body></body>
</html>
+2 -2
View File
@@ -56,7 +56,7 @@ function remoteRender(event: MessageEvent): void {
const body = document.body;
// Don't display scrollbars if the link takes more than one line to display.
body.style .margin = "0px";
body.style.margin = "0px";
body.style.overflow = "hidden";
body.appendChild(a);
@@ -65,7 +65,7 @@ function remoteRender(event: MessageEvent): void {
}
}
window.onmessage = function(e: MessageEvent): void {
window.onmessage = function (e: MessageEvent): void {
if (e.origin === window.location.origin) {
if (e.data.blob) remoteRender(e);
}