mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
prettier
This commit is contained in:
parent
941c545d58
commit
e7f1814431
2 changed files with 9 additions and 10 deletions
18
static/ui.js
18
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;
|
||||
}
|
||||
|
||||
return frame.go(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 html`
|
||||
<div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue