1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-12 19:10:21 +03:00
inav-configurator/js/debug_trace.js
Alberto García Hierro 08a54197c0 Move code for the debug trace window to an external script
Chrome doesn't allow inline scripts, only external ones
2018-02-12 21:41:49 +00:00

9 lines
210 B
JavaScript

function debugTraceOnLoad()
{
var output = document.getElementById('debug-trace');
setInterval(function() {
output.innerText = getDebugTrace();
}, 100);
}
window.onload = debugTraceOnLoad;