Created
February 21, 2017 05:16
-
-
Save DavidCramer/29c6ade895c4240fe61498719e7e3a69 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