mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
fixes
This commit is contained in:
parent
0c1252191a
commit
b381a97572
1 changed files with 1 additions and 15 deletions
16
main.html
16
main.html
|
@ -243,20 +243,6 @@
|
||||||
<p>Waiting for data ...</p>
|
<p>Waiting for data ...</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
|
||||||
/** log trigger **/
|
|
||||||
$("#showlog").on('click', function() {
|
|
||||||
var state = $(this).data('state');
|
|
||||||
if ( state ) {
|
|
||||||
$("#log").animate({height: 27}, 800);
|
|
||||||
state = false;
|
|
||||||
}else{
|
|
||||||
$("#log").animate({height: 100}, 800);
|
|
||||||
state = true;
|
|
||||||
}
|
|
||||||
$(this).text(state ? 'Close' : 'Open');
|
|
||||||
$(this).data('state', state);
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue