Browse Source

Merge pull request #7181 from vvlladd28/bug/maps/tooltip/close-button

[3.4.2] UI: Fixed in map widgets close tooltip button
pull/7199/head
Igor Kulikov 4 years ago
committed by GitHub
parent
commit
35e5eb6887
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      ui-ngx/src/app/modules/home/components/widget/lib/maps/maps-utils.ts

3
ui-ngx/src/app/modules/home/components/widget/lib/maps/maps-utils.ts

@ -45,6 +45,9 @@ export function createTooltip(target: L.Layer,
}
target.on('popupopen', () => {
bindPopupActions(popup, settings, datasource);
(target as any)._popup._closeButton.addEventListener('click', (event: Event) => {
event.preventDefault();
});
});
return popup;
}

Loading…
Cancel
Save