Fixed iframe resizer version @5.1.5
This commit is contained in:
parent
3d8047c01c
commit
2dc66abcd7
3 changed files with 6 additions and 34 deletions
|
@ -27,7 +27,7 @@
|
||||||
}
|
}
|
||||||
if(SrcString != null) {
|
if(SrcString != null) {
|
||||||
SrcString = SrcString?.Replace("</head>", "<base target='_blank'></head>");
|
SrcString = SrcString?.Replace("</head>", "<base target='_blank'></head>");
|
||||||
SrcString = SrcString?.Replace("</body>", "<script src='https://cdn.jsdelivr.net/npm/@iframe-resizer/child'></script></body>");
|
SrcString = SrcString?.Replace("</body>", "<script src='https://cdn.jsdelivr.net/npm/@iframe-resizer/child@5.1.5'></script></body>");
|
||||||
Html = (MarkupString)(SrcString ?? string.Empty);
|
Html = (MarkupString)(SrcString ?? string.Empty);
|
||||||
}
|
}
|
||||||
await InvokeAsync(StateHasChanged);
|
await InvokeAsync(StateHasChanged);
|
||||||
|
|
24
wwwroot/vendor/iframe-resizer/child.js
vendored
24
wwwroot/vendor/iframe-resizer/child.js
vendored
File diff suppressed because one or more lines are too long
14
wwwroot/vendor/iframe-resizer/parent.js
vendored
14
wwwroot/vendor/iframe-resizer/parent.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue