Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

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>

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);
}