- commit
- 0590b22db5acb059dad3bcf2594e85db24723f61
- parent
- 559bb43e85b7342ecc6d109147920dc7509eafb9
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2021-05-07 06:28
cleanup resize event bindings
Diffstat
| M | static/main.js | 4 | +--- |
1 files changed, 1 insertions, 3 deletions
diff --git a/static/main.js b/static/main.js
@@ -25,9 +25,7 @@ 25 25 }, 0); 26 26 }; 27 2728 -1 on(document, 'init', 'textarea', resize);29 -1 on(document, 'change', 'textarea', resize);30 -1 on(document, 'keydown', 'textarea', resize);-1 28 on(document, 'input', 'textarea', resize); 31 29 document.querySelectorAll('textarea').forEach(function(e) { 32 30 resize.call(e); 33 31 });