@annalib/anna-core 20.2.31 → 20.2.32

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.
@@ -4306,14 +4306,13 @@ class AnnaNonEditableGenericTableComponent {
4306
4306
  const elements = document.getElementsByClassName('remarks-info-tooltip');
4307
4307
  // const tooltipElements = document.getElementsByClassName("tooltip");
4308
4308
  const gtTooltip = document.getElementsByClassName('remove-on-scroll-class');
4309
- const tooltipElements = document.getElementsByClassName('tooltip');
4309
+ document.querySelectorAll(".tooltip:not(.keep-on-scroll-tooltip)").forEach(e => {
4310
+ e.remove();
4311
+ this.tooltip = null;
4312
+ });
4310
4313
  while (elements && elements.length > 0) {
4311
4314
  elements[0].remove();
4312
4315
  }
4313
- while (tooltipElements && tooltipElements.length > 0) {
4314
- tooltipElements[0].remove();
4315
- this.tooltip = null;
4316
- }
4317
4316
  while (gtTooltip && gtTooltip.length > 0) {
4318
4317
  gtTooltip[0].remove();
4319
4318
  }