From c704bd299fffe979a72f7ffe335d5e3a26ef30f7 Mon Sep 17 00:00:00 2001 From: Catalina Oyaneder Date: Wed, 12 Jun 2024 08:38:34 +0100 Subject: [PATCH] refactor: reorganise and clean up script structure in `details.html` - Constants, variables, and functions are defined in a logical order - Moved DOM-dependent functions inside the DOMContentLoaded event listener - Event listeners init after DOM content is fully loaded --- infrastructure/code/template/details.html | 114 +++++++++++----------- 1 file changed, 58 insertions(+), 56 deletions(-) diff --git a/infrastructure/code/template/details.html b/infrastructure/code/template/details.html index 9eeabf6c3..61eb2c3db 100644 --- a/infrastructure/code/template/details.html +++ b/infrastructure/code/template/details.html @@ -919,12 +919,12 @@

Fixed Code Examples

- ${ideScript}