Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue