From cda2271e9e22945442a102f73d7031841eac9010 Mon Sep 17 00:00:00 2001 From: Dome Date: Tue, 7 Apr 2026 19:32:44 +0200 Subject: [PATCH] Reload page after clearing preferences --- src/RootView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RootView.js b/src/RootView.js index 7e333d0..7ca8639 100644 --- a/src/RootView.js +++ b/src/RootView.js @@ -37,7 +37,7 @@ export class RootView extends TemplateView { externalLink(t, "https://github.com/matrix-org/matrix.to", "Matrix-to") ]), t.p({className: {hidden: vm => !vm.hasPreferences}}, [ - t.button({className: "text", onClick: () => vm.clearPreferences()}, "Clear preferences") + t.button({className: "text", onClick: () => { vm.clearPreferences(); location.reload(); }}, "Clear preferences") ]) ]) ]);