mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
treat relative URLs for terms, privacy, etc. as relative to the main domain in the 'about cryptpad' menu
This commit is contained in:
parent
dd5f4a2e7b
commit
82c3ebe696
@ -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;
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user