mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
Move code for the debug trace window to an external script
Chrome doesn't allow inline scripts, only external ones
This commit is contained in:
parent
b98d7a8f3b
commit
08a54197c0
4 changed files with 16 additions and 10 deletions
9
js/debug_trace.js
Normal file
9
js/debug_trace.js
Normal file
|
@ -0,0 +1,9 @@
|
|||
function debugTraceOnLoad()
|
||||
{
|
||||
var output = document.getElementById('debug-trace');
|
||||
setInterval(function() {
|
||||
output.innerText = getDebugTrace();
|
||||
}, 100);
|
||||
}
|
||||
|
||||
window.onload = debugTraceOnLoad;
|
Loading…
Add table
Add a link
Reference in a new issue