diff --git a/src/ui/web/login/LoginView.js b/src/ui/web/login/LoginView.js index 00d52da8..d1fc8930 100644 --- a/src/ui/web/login/LoginView.js +++ b/src/ui/web/login/LoginView.js @@ -51,9 +51,9 @@ export class LoginView extends TemplateView { t.div({className: "form-row"}, [t.label({for: "homeserver"}, vm.i18n`Homeserver`), homeserver]), t.mapView(vm => vm.loadViewModel, loadViewModel => loadViewModel ? new SessionLoadStatusView(loadViewModel) : null), t.div({className: "button-row"}, [ - t.button({ - className: "styled secondary", - onClick: () => vm.cancel(), disabled + t.a({ + className: "button styled secondary", + href: vm.cancelUrl }, [vm.i18n`Go Back`]), t.button({ className: "styled primary",