Enable vertical scrolling in /buttons Closes #3012

e03f1b14e6927340861fa258c30f01d867a26127

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/slash-commands.js+1 -1
@@ -2091,7 +2091,7 @@ async function buttonsCallback(args, text) {
20912091 popupContainer.innerHTML = safeValue;
20922092 popupContainer.appendChild(buttonContainer);
20932093
20942094 popup = new Popup(popupContainer, POPUP_TYPE.TEXT, '', { okButton: 'Cancel', allowVerticalScrolling: true });
20952095 popup.show()
20962096 .then((result => resolve(typeof result === 'number' ? resultToButtonMap.get(result) ?? '' : '')))
20972097 .catch(() => resolve(''));