]> git.joonet.de Git - adminer.git/commit
AdminerDarkSwitcher: Handle first click
authorPexle Chris <pexlechris@gmail.com>
Sun, 27 Apr 2025 12:13:21 +0000 (15:13 +0300)
committerJakub Vrana <jakub@vrana.cz>
Sun, 4 May 2025 11:10:38 +0000 (13:10 +0200)
commitcf52c4c0a8453f0e1999508b32006f6e49606beb
tree4e7f66717339e479dd5e8387e9aae55bd1c18654
parent5f7fb62803362935133927e5aeab1f277e4aeb95
AdminerDarkSwitcher: Handle first click

Fixed an issue where the Dark Mode Switcher icon did not respond on the first click if the Dark Mode cookie had not been set yet. Now, clicking the icon correctly sets the cookie and immediately toggles Dark Mode.
plugins/dark-switcher.php