-
-
Save mgibbs189/b19bb08b9e589ffeaeae7b9284eb8e6c to your computer and use it in GitHub Desktop.
Disable mouse scroll on Map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// add this to your child themes functions.php file | |
add_filter( 'facetwp_map_init_args', function ( $args ) { | |
$args['scrollwheel'] = false; | |
return $args; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment