New padding.
This commit is contained in:
parent
4442f75ec5
commit
030942db09
@ -10,7 +10,7 @@ class HTMLFrame extends HTMLElement {
|
|||||||
this.container.classList.add("html_frame")
|
this.container.classList.add("html_frame")
|
||||||
let url = this.getAttribute('url');
|
let url = this.getAttribute('url');
|
||||||
if(!url.startsWith("https")){
|
if(!url.startsWith("https")){
|
||||||
url = "https://" + fullUrl
|
url = "https://" + url
|
||||||
}
|
}
|
||||||
if (url) {
|
if (url) {
|
||||||
let fullUrl = url.startsWith("/") ? window.location.origin + url : new URL(window.location.origin + "/http-get")
|
let fullUrl = url.startsWith("/") ? window.location.origin + url : new URL(window.location.origin + "/http-get")
|
||||||
|
Loading…
Reference in New Issue
Block a user