We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b62c742 + b65a618 commit 754579aCopy full SHA for 754579a
src/main/webapp/WEB-INF/includes/template/inc_JS.xhtml
@@ -49,6 +49,9 @@
49
(() => {
50
document.querySelectorAll('.grow-wrap').forEach( (wrap) => {
51
const textarea = wrap.querySelector('textarea');
52
+ if (!textarea) {
53
+ return;
54
+ }
55
// Sync wrap and textarea on load
56
wrap.dataset.content = textarea.value;
57
textarea.addEventListener('input', () => {
@@ -63,6 +66,9 @@
63
66
64
67
65
68
69
70
71
72
73
74
0 commit comments