make it into a link

This commit is contained in:
Bruno Windels 2021-08-26 10:46:04 +02:00
parent 725a7efb3c
commit 55d60cb368

View file

@ -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")),
])
])
]);