1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-18 13:55:18 +03:00

more cleanup

This commit is contained in:
cTn 2014-02-14 21:54:21 +01:00
parent 40a30118a6
commit d4dbb880d6

View file

@ -66,11 +66,6 @@ function tab_initialize_cli() {
textarea.val(cli_history.next());
});
// handle smaller resolutions
if (screen.height <= 600) {
$('div.tab-cli .window').height(200);
}
// apply dynamic width to the textarea element according to cli window width (minus padding and border width)
$('div.tab-cli textarea').width($('div.tab-cli .window').outerWidth() - 7);