diff --git a/src/RootView.js b/src/RootView.js index 64962b8..5669f36 100644 --- a/src/RootView.js +++ b/src/RootView.js @@ -35,8 +35,7 @@ export class RootView extends TemplateView { t.li(externalLink(t, "https://github.com/matrix-org/matrix.to/tree/main/src/open/clients", "Add your app")), t.li({className: {hidden: vm => !vm.hasPreferences}}, t.button({className: "text", onClick: () => vm.clearPreferences()}, "Clear preferences")), - t.li( - t.button({className: "text", onClick: () => vm.openLink("/#/disclaimer/")}, "Disclaimer")), + t.li(t.a({href: "#/disclaimer/"}, "Disclaimer")), ]) ]) ]);