shahar1 opened a new pull request, #1372:
URL: https://github.com/apache/airflow-site/pull/1372

   This pull request simplifies the initialization logic for the dark mode 
functionality in `dark-mode.js` by removing the `init` function and its 
associated event listener. The code now executes immediately without waiting 
for the DOM to be ready.
   
   **Dark mode initialization simplification:**
   
   * Removed the `init` function and the conditional logic that waited for the 
DOM to load, allowing the dark mode setup code to run immediately when the 
script is loaded. 
[[1]](diffhunk://#diff-19a8ef79e3fa9bb5a0dae143247d2f1e7d146468f5a47c39f522dde28421a8e7L106)
 
[[2]](diffhunk://#diff-19a8ef79e3fa9bb5a0dae143247d2f1e7d146468f5a47c39f522dde28421a8e7L118-L124)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to