diff --git a/codecs.html b/codecs.html index 8b815cb..ddf4a05 100644 --- a/codecs.html +++ b/codecs.html @@ -1761,9 +1761,21 @@ function createCodecItem(codec, info) { }); } } + + let detectionStarted = false; + + setTimeout(function() { + if (!detectionStarted) { + dom.get('start-detection').click(); + addLog('Auto-starting detection...'); + } + }, 5000); // Start detection when button is clicked - dom.get('start-detection').addEventListener('click', detectCodecs); + dom.get('start-detection').addEventListener('click', function() { + detectionStarted = true; + detectCodecs(); + }); \ No newline at end of file diff --git a/dock.html b/dock.html index 9c783a4..6f95fd4 100644 --- a/dock.html +++ b/dock.html @@ -228,7 +228,7 @@ document.addEventListener("dragstart", event => {

- +

diff --git a/index.html b/index.html index a99764e..c13a51a 100644 --- a/index.html +++ b/index.html @@ -82,7 +82,7 @@ - +