Problem/Motivation
I've installed Darkmode JS dev version on my project (D10) and found that it doesn't work at all.
The problems occur in the main JS file. I removed the following code and darkmode works well:
// Check if the Darkmode library is available.
if (typeof Darkmode !== 'undefined') {
return;
}
This file requires refactoring before the new release is created.
Issue fork darkmode-3396581
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
o_timoshchuk commentedComment #4
o_timoshchuk commentedThe js file changed
Comment #7
bobi-mel commentedThanks guys for your test and contribution, merged fixes into dev branch after tests on local env.