Created
November 4, 2016 09:02
-
-
Save ozknozsrt/539c8a3fe72930f7b5560cac2c973c65 to your computer and use it in GitHub Desktop.
Map Iframe Click Pointer Events
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
$(document).ready(function() { | |
$('.map').click(function () { | |
$('.map iframe').css("pointer-events", "auto"); | |
}); | |
$( ".map" ).mouseleave(function() { | |
$('.map iframe').css("pointer-events", "none"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment