diff --git a/scripts/missing-colors.js b/scripts/missing-colors.js
index 2c7618f..b6e23d6 100644
--- a/scripts/missing-colors.js
+++ b/scripts/missing-colors.js
@@ -5,7 +5,7 @@ let path = require("path");
const fixHTML = (infile, outfile) => {
console.log(infile, outfile)
let doc = new parser.JSDOM(fs.readFileSync(infile));
- for (let item of ["badge", "chip", "shield", "input", "table", "button", "portal", "select", "aside", "card"]) {
+ for (let item of ["badge", "chip", "shield", "input", "table", "button", "portal", "select", "aside", "card", "field"]) {
let items = doc.window.document.body.querySelectorAll("."+item);
for (let i = 0; i < items.length; i++) {
let hasColor = false;
diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts
index 8fadba1..e5d2b78 100644
--- a/ts/modules/accounts.ts
+++ b/ts/modules/accounts.ts
@@ -193,7 +193,7 @@ class user implements User {
if (!u) {
this._notifyDropdown.querySelector(".accounts-area-matrix").classList.add("unfocused");
this._matrix.innerHTML = `
-
${window.lang.strings("add")}
+
${window.lang.strings("add")}
`;
(this._matrix.querySelector("span") as HTMLSpanElement).onclick = this._addMatrix;
@@ -257,7 +257,7 @@ class user implements User {
this._telegramUsername = u;
if (!u) {
this._notifyDropdown.querySelector(".accounts-area-telegram").classList.add("unfocused");
- this._telegram.innerHTML = `
${window.lang.strings("add")}`;
+ this._telegram.innerHTML = `
${window.lang.strings("add")}`;
(this._telegram.querySelector("span") as HTMLSpanElement).onclick = this._addTelegram;
} else {
this._notifyDropdown.querySelector(".accounts-area-telegram").classList.remove("unfocused");
@@ -322,7 +322,7 @@ class user implements User {
const lastNotifyMethod = this.lastNotifyMethod() == "discord";
this._discordUsername = u;
if (!u) {
- this._discord.innerHTML = `
Add`;
+ this._discord.innerHTML = `
Add`;
(this._discord.querySelector("span") as HTMLSpanElement).onclick = () => addDiscord(this.id);
this._notifyDropdown.querySelector(".accounts-area-discord").classList.add("unfocused");
} else {
diff --git a/ts/modules/discord.ts b/ts/modules/discord.ts
index ebb54ef..89e8a8c 100644
--- a/ts/modules/discord.ts
+++ b/ts/modules/discord.ts
@@ -39,10 +39,10 @@ export function newDiscordSearch(title: string, description: string, buttonText:
|
-
+ |
${users[i].name}
|
-
+ |
${buttonText}
|
diff --git a/ts/modules/lang.ts b/ts/modules/lang.ts
index aba0951..fa07a25 100644
--- a/ts/modules/lang.ts
+++ b/ts/modules/lang.ts
@@ -77,7 +77,7 @@ export const loadLangSelector = (page: string) => {
const list = document.getElementById("lang-list") as HTMLDivElement;
let innerHTML = '';
for (let code in req.response) {
- innerHTML += `
${req.response[code]}`;
+ innerHTML += `
${req.response[code]}`;
}
list.innerHTML = innerHTML;
}