More Safari weirdness cope

This commit is contained in:
Cohee
2024-07-03 22:28:42 +03:00
parent 8159b7f5f4
commit 542a13a01b
3 changed files with 13 additions and 5 deletions

View File

@ -1430,7 +1430,7 @@ jQuery(function () {
wrapper.classList.add('flexFlowColumn', 'justifyCenter', 'alignitemscenter');
const textarea = document.createElement('textarea');
textarea.value = String(bro.val());
textarea.classList.add('height100p', 'wide100p');
textarea.classList.add('height100p', 'wide100p', 'maximized_textarea');
bro.hasClass('monospace') && textarea.classList.add('monospace');
textarea.addEventListener('input', function () {
bro.val(textarea.value).trigger('input');