@annalib/anna-core 20.2.33 → 20.2.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4308,14 +4308,13 @@ class AnnaNonEditableGenericTableComponent {
4308
4308
  const elements = document.getElementsByClassName('remarks-info-tooltip');
4309
4309
  // const tooltipElements = document.getElementsByClassName("tooltip");
4310
4310
  const gtTooltip = document.getElementsByClassName('remove-on-scroll-class');
4311
- const tooltipElements = document.getElementsByClassName('tooltip');
4311
+ document.querySelectorAll(".tooltip:not(.keep-on-scroll-tooltip)").forEach(e => {
4312
+ e.remove();
4313
+ this.tooltip = null;
4314
+ });
4312
4315
  while (elements && elements.length > 0) {
4313
4316
  elements[0].remove();
4314
4317
  }
4315
- while (tooltipElements && tooltipElements.length > 0) {
4316
- tooltipElements[0].remove();
4317
- this.tooltip = null;
4318
- }
4319
4318
  while (gtTooltip && gtTooltip.length > 0) {
4320
4319
  gtTooltip[0].remove();
4321
4320
  }