Skip to content

Commit

Permalink
Use default "false" for snowflakes effect
Browse files Browse the repository at this point in the history
  • Loading branch information
zimbcode committed Feb 22, 2023
1 parent 40da1ee commit e08f2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/scripts.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Register Javascript
*/
function enqueue_child_scripts() {
if ( get_theme_mod( 'snowflakes', true ) ) {
if ( get_theme_mod( 'snowflakes', false ) ) {
wp_enqueue_script( 'snowflakes', get_stylesheet_directory_uri() . '/assets/js/snowflakes.min.js', array(), '6.0.0', true );
}
wp_enqueue_script( 'script', get_stylesheet_directory_uri() . '/assets/js/script.js', array(), '1.0.0', true );
Expand Down

0 comments on commit e08f2e6

Please sign in to comment.