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);
|
||||
|
||||
|
||||
return rv;
|
||||
},
|
||||
getOwnPropertyDescriptor: getOwnPropertyDescriptorHandler,
|
||||
|
|
16
static/ui.js
16
static/ui.js
|
@ -150,15 +150,15 @@ function App() {
|
|||
);
|
||||
});
|
||||
|
||||
const handleSubmit = () => {
|
||||
this.url = this.url.trim();
|
||||
// frame.go(this.url)
|
||||
if (!this.url.startsWith("http")) {
|
||||
this.url = "https://" + this.url;
|
||||
}
|
||||
const handleSubmit = () => {
|
||||
this.url = this.url.trim();
|
||||
// frame.go(this.url)
|
||||
if (!this.url.startsWith("http")) {
|
||||
this.url = "https://" + this.url;
|
||||
}
|
||||
|
||||
return frame.go(this.url);
|
||||
}
|
||||
return frame.go(this.url);
|
||||
};
|
||||
|
||||
return html`
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue