Fix user settings on older clients
This commit is contained in:
@@ -7,9 +7,9 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
<GenerateDocumentationFile>false</GenerateDocumentationFile>
|
||||||
<Version>0.2.3</Version>
|
<Version>0.2.4</Version>
|
||||||
<AssemblyVersion>0.2.3.0</AssemblyVersion>
|
<AssemblyVersion>0.2.4.0</AssemblyVersion>
|
||||||
<FileVersion>0.2.3.0</FileVersion>
|
<FileVersion>0.2.4.0</FileVersion>
|
||||||
<Authors>ajp_anton</Authors>
|
<Authors>ajp_anton</Authors>
|
||||||
</PropertyGroup>
|
</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 BASE_PATH = window.location.pathname.split("/web/")[0] || "";
|
||||||
const MENU_ID = "mlUserRulesMenuItem";
|
const MENU_ID = "mlUserRulesMenuItem";
|
||||||
const USER_RULES_ROUTE = "multilang/user-rules";
|
const USER_RULES_ROUTE = "multilang/user-rules";
|
||||||
|
|||||||
Reference in New Issue
Block a user