Skip to content

Commit cb567a0

Browse files
committed
Tooltip: don't deactivate tooltips when mini-dock is closed
Tooltips can still be deactivated by selecting the `---` option
1 parent 8aa2c70 commit cb567a0

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

assets/src/components/Tooltip.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@ export default class Tooltip extends HTMLElement {
2929
// Activate last selected tooltip layer
3030
mainLizmap.tooltip.activate(this.querySelector('select').value);
3131
}
32-
},
33-
minidockclosed: event => {
34-
if ( event.id === 'tooltip-layer' ) {
35-
// Deactivate tooltip on close
36-
mainLizmap.tooltip.deactivate();
37-
}
3832
}
3933
});
4034

0 commit comments

Comments
 (0)