Skip to content
Snippets Groups Projects
Commit e5800d35 authored by Oleksandr Tymoshchuk's avatar Oleksandr Tymoshchuk Committed by Bohdan Melnychuk
Browse files

Issue #3396581 by o_tymoshchuk, Panchuk: Darkmode JS doesn't works at all

parent de7c189b
No related branches found
Tags 1.0.4
1 merge request!8Issue #3396581: Darkmode JS doesn't works at all
......@@ -10,11 +10,6 @@
*/
Drupal.behaviors.darkModeWidget = {
attach: function (context) {
// Check if the Darkmode library is available.
if (typeof Darkmode !== 'undefined') {
return;
}
once('darkmode', 'body', context).forEach(() => {
const options = {
bottom: '64px',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment