mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 13:55:18 +03:00
more cleanup
This commit is contained in:
parent
40a30118a6
commit
d4dbb880d6
1 changed files with 0 additions and 5 deletions
|
@ -66,11 +66,6 @@ function tab_initialize_cli() {
|
||||||
textarea.val(cli_history.next());
|
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)
|
// 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);
|
$('div.tab-cli textarea').width($('div.tab-cli .window').outerWidth() - 7);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue