Fix user settings on older clients

This commit is contained in:
ajp_anton
2026-08-21 23:20:59 +00:00
parent d365f7b58b
commit 8f7462fd3c
2 changed files with 10 additions and 3 deletions
@@ -7,9 +7,9 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<Version>0.3.2</Version>
<AssemblyVersion>0.3.2.0</AssemblyVersion>
<FileVersion>0.3.2.0</FileVersion>
<Version>0.3.3</Version>
<AssemblyVersion>0.3.3.0</AssemblyVersion>
<FileVersion>0.3.3.0</FileVersion>
<Authors>ajp_anton</Authors>
</PropertyGroup>
@@ -1,4 +1,11 @@
(() => {
if (!Element.prototype.replaceChildren) {
Element.prototype.replaceChildren = function () {
this.textContent = "";
for (let index = 0; index < arguments.length; index++) this.appendChild(arguments[index]);
};
}
const BASE_PATH = window.location.pathname.split("/web/")[0] || "";
const MENU_ID = "mlUserRulesMenuItem";
const USER_RULES_ROUTE = "multilang/user-rules";