From e5f7fe43c2d9c52e3546db62c4b47e856b0f434f Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Tue, 7 Jan 2025 14:48:51 -0600 Subject: [PATCH] fix: avoid `request.current_route_url()` for user menu not sure why, at least on chromium browser sometimes that will throw an error!? but this works around fine --- src/wuttaweb/templates/base.mako | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wuttaweb/templates/base.mako b/src/wuttaweb/templates/base.mako index 425d5bd..429e9be 100644 --- a/src/wuttaweb/templates/base.mako +++ b/src/wuttaweb/templates/base.mako @@ -659,7 +659,7 @@ % if request.is_root: ${h.form(url('stop_root'), ref='stopBeingRootForm')} ${h.csrf_token(request)} - + Stop being root