1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00
This commit is contained in:
skaman82 2015-10-26 23:06:46 +01:00
parent 0c1252191a
commit b381a97572

View file

@ -243,20 +243,6 @@
<p>Waiting for data ...</p>
</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>
</html>