From 82c3ebe696f1fa26bbbb1c55e8e21ce98741a13c Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 1 Aug 2022 15:42:32 +0530 Subject: [PATCH] treat relative URLs for terms, privacy, etc. as relative to the main domain in the 'about cryptpad' menu --- www/common/common-ui-elements.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 81bc111ff..ce095232a 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1680,6 +1680,7 @@ define([ var a = p.querySelector('a'); if (!a) { return; } sub.innerText = a.innerText; + sub.setAttribute('href', href); p.replaceChild(sub, a); return p; };