[Midnightbsd-cvs] [MidnightBSD/mports] a9ed03: magus: Guard DOM element accesses and child remova...

Lucas Holt noreply at github.com
Sat Jul 18 00:50:35 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: a9ed039df2ff832ca09300cec5aba82e11f30425
      https://github.com/MidnightBSD/mports/commit/a9ed039df2ff832ca09300cec5aba82e11f30425
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-07-18 (Sat, 18 Jul 2026)

  Changed paths:
    M Tools/magus/www/data/magus/elements/magus.js

  Log Message:
  -----------
  magus: Guard DOM element accesses and child removals in magus.js

- Add null guards for eventDisplayAreaEl to prevent crashes on pages without events-display container.
- Use contains() check on eventDisplayAreaEl before calling removeChild() to prevent DOMExceptions.

AI-Assisted-by: Gemini 3.5 Flash <noreply at google.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list