dang it
This commit is contained in:
parent
cae6b18cb0
commit
589a432ca2
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ fetch("/api/account/self", {
|
||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
for (const flag of (json.flags || [])) {
|
for (const flag of (json.flags || [])) {
|
||||||
inner += `<div id="social-${i}" data-id="${i}">${flagInput.split("</select")[0].replaceAll("%i", i).replace(`value="${flag}"`, `selected value="${flag}"`)}</select><svg onclick="dom('social-${i}').remove()">${icons.x}</svg></div>`;
|
inner += `<div id="flags-${i}" data-id="${i}">${flagInput.split("</select")[0].replaceAll("%i", i).replace(`value="${flag}"`, `selected value="${flag}"`)}</select><svg onclick="dom('flags-${i}').remove()">${icons.x}</svg></div>`;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
inner += `</div><button onclick="add_input('flags', '${flagInput.replaceAll("\"", """).replaceAll("\'", "\\\'")}');">Add</button></div></div>`
|
inner += `</div><button onclick="add_input('flags', '${flagInput.replaceAll("\"", """).replaceAll("\'", "\\\'")}');">Add</button></div></div>`
|
||||||
|
|
Loading…
Reference in a new issue