Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 5 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | $("#body").on("click keydown", function (e) { |
||
2 | // auto height (fit content) |
||
3 | this.style.height = ""; |
||
4 | this.style.height = this.scrollHeight + "px"; |
||
5 | }); |
||
6 |