Created
June 17, 2022 09:09
-
-
Save carmoreira/b511350b7c8f4608bd6e51dc94019ad1 to your computer and use it in GitHub Desktop.
Interactive Geo Maps - Reset actions after menu filter dropdown changes
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
// replace 55677 with your map ID | |
document.addEventListener('input', function (event) { | |
if (event.target.id !== 'igm-live-filter-55677') return; | |
iMapsActions.resetActions(55677); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment