Multiple histories for each character (#4022)
This commit is contained in:
parent
029da9563f
commit
00ab450c13
9 changed files with 240 additions and 197 deletions
|
@ -244,11 +244,9 @@ if (buttonsInChat.length > 0) {
|
|||
const thisButton = buttonsInChat[i];
|
||||
menu.appendChild(thisButton);
|
||||
|
||||
if(i != 8) {
|
||||
thisButton.addEventListener("click", () => {
|
||||
hideMenu();
|
||||
});
|
||||
}
|
||||
thisButton.addEventListener("click", () => {
|
||||
hideMenu();
|
||||
});
|
||||
|
||||
const buttonText = thisButton.textContent;
|
||||
const matches = buttonText.match(/(\(.*?\))/);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue