Set "ask every time" checked by default

Fixes #294
This commit is contained in:
Felix Stupp 2022-11-22 10:42:30 +00:00 committed by Felix Stupp
parent fde53099eb
commit f28ac2dfb4
No known key found for this signature in database
GPG key ID: 93E1BD26F6B02FB7

View file

@ -51,7 +51,7 @@ export class ServerConsentView extends TemplateView {
t.form({action: "#", id: "serverConsentForm", onSubmit: evt => this._onSubmit(evt)}, [
t.mapView(vm => vm.showSelectServer, show => show ? new ServerOptions(vm) : null),
t.div({className: "actions"}, [
t.label([t.input({type: "checkbox", name: "askEveryTime"}), "Ask every time"]),
t.label([t.input({type: "checkbox", name: "askEveryTime", checked: true}), "Ask every time"]),
t.input({type: "submit", value: "Continue", className: "primary fullwidth"})
])
])