mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 14:30:02 -04:00
prettier
This commit is contained in:
parent
941c545d58
commit
e7f1814431
2 changed files with 9 additions and 10 deletions
|
@ -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,
|
||||||
|
|
18
static/ui.js
18
static/ui.js
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue