We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8f4d95 commit dc1994cCopy full SHA for dc1994c
js/jquery.mapael.js
@@ -386,7 +386,7 @@
386
$self.on("hideAllElems", function(e, hide) {
387
// if hide is not set, we hide it be default
388
hide = (typeof hide === "undefined") ? true : hide;
389
- $("[data-type='elem']").each(function() {
+ $("[data-type='elem']", $(this)).each(function() {
390
if (($(this).attr('data-hidden') === "0" && hide === true) ||
391
($(this).attr('data-hidden') === "1" && hide === false)) {
392
$(this).trigger('click', false);
0 commit comments