This commit is contained in:
Percs 2024-10-03 18:31:13 -05:00
parent 941c545d58
commit e7f1814431
2 changed files with 9 additions and 10 deletions

View file

@ -88,7 +88,6 @@ export default function (client: ScramjetClient, self: Self) {
const rv = Reflect.apply(target, thisArg, argArray); const rv = Reflect.apply(target, thisArg, argArray);
return rv; return rv;
}, },
getOwnPropertyDescriptor: getOwnPropertyDescriptorHandler, getOwnPropertyDescriptor: getOwnPropertyDescriptorHandler,

View file

@ -150,15 +150,15 @@ function App() {
); );
}); });
const handleSubmit = () => { const handleSubmit = () => {
this.url = this.url.trim(); this.url = this.url.trim();
// frame.go(this.url) // frame.go(this.url)
if (!this.url.startsWith("http")) { if (!this.url.startsWith("http")) {
this.url = "https://" + this.url; this.url = "https://" + this.url;
} }
return frame.go(this.url); return frame.go(this.url);
} };
return html` return html`
<div> <div>