mirror of
https://github.com/logos-co/open-law.git
synced 2025-01-10 06:46:04 +00:00
fix right click bug
This commit is contained in:
parent
000c4a17ed
commit
b5b8ca07da
File diff suppressed because one or more lines are too long
143909
app/static/js/main.js
143909
app/static/js/main.js
File diff suppressed because one or more lines are too long
@ -29,7 +29,9 @@ const options: DropdownOptions = {
|
||||
onShow: tooltip => {
|
||||
// this will close opened menu if you trigger another one
|
||||
if (currentElement) {
|
||||
currentElement.hide();
|
||||
if (tooltip !== currentElement) {
|
||||
currentElement.hide();
|
||||
}
|
||||
currentElement = tooltip;
|
||||
} else {
|
||||
currentElement = tooltip;
|
||||
|
Loading…
x
Reference in New Issue
Block a user