diff --git a/index.html b/index.html index 2111af9..de360c8 100644 --- a/index.html +++ b/index.html @@ -275,8 +275,8 @@ - + diff --git a/js/console.js b/js/console.js deleted file mode 100644 index 04d4874..0000000 --- a/js/console.js +++ /dev/null @@ -1,9 +0,0 @@ -function log(message) { - const consoleArea = document.getElementById('console'); - - // Append the new message to the existing content and add a newline - consoleArea.value += message + '\n'; - - // Scroll to the bottom to show the latest message - consoleArea.scrollTop = consoleArea.scrollHeight; -} \ No newline at end of file diff --git a/js/modframework.js b/js/modframework.js index ac816e1..feacc8e 100644 --- a/js/modframework.js +++ b/js/modframework.js @@ -118,6 +118,16 @@ function applyMods(firmware) { return firmware; } +function log(message) { + const consoleArea = document.getElementById('console'); + + // Append the new message to the existing content and add a newline + consoleArea.value += message + '\n'; + + // Scroll to the bottom to show the latest message + consoleArea.scrollTop = consoleArea.scrollHeight; +} + // Helper functions: