From 55d60cb368492481cbd4ffd73a6ff89218c9413d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 26 Aug 2021 10:46:04 +0200 Subject: [PATCH] make it into a link --- src/RootView.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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")), ]) ]) ]);