Commit 65f8723
authored
Replacing inline styles
Changed:
iframeContent.setAttribute("style", "width:100%;height:100%;");
To:
iframeContent.style.width="100%;
iframeContent.style.height="100%;
This means that a content-security-policy website header can be set to allow for a more secure implementation.1 parent 16fa827 commit 65f8723
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
| 539 | + | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
| |||
0 commit comments