diff --git a/src/client/shared/event.ts b/src/client/shared/event.ts index 4013eae..5ad9727 100644 --- a/src/client/shared/event.ts +++ b/src/client/shared/event.ts @@ -88,7 +88,6 @@ export default function (client: ScramjetClient, self: Self) { const rv = Reflect.apply(target, thisArg, argArray); - return rv; }, getOwnPropertyDescriptor: getOwnPropertyDescriptorHandler, diff --git a/static/ui.js b/static/ui.js index ed11c14..9ab3099 100644 --- a/static/ui.js +++ b/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`