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
// Disable scroll zooming and bind back the click event | |
var onMapMouseleaveHandler = function (event) { | |
var that = $(this); | |
that.on('click', onMapClickHandler); | |
that.off('mouseleave', onMapMouseleaveHandler); | |
that.find('iframe').css("pointer-events", "none"); | |
// pointer-events needs to be added as a style on the iframe | |
} |
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 | |
/** | |
* Defines a style plugin | |
* | |
* - panesandblocks: corresponds to directory name of plugin | |
* - render pane: the suffix of the theme function for the pane (without "theme_"). | |
* - Example: If the function name is "theme_panesandblocks_render_pane", | |
* the value of "render pane" is "panesandblocks_render_pane". | |
* - render region: the suffix of the theme function for the region (without "theme_"). | |
* - Example: If the function name is "theme_panesandblocks_render_region", |