Add function menu_is_open.
This commit is contained in:
parent
ab78385833
commit
635bf27c1e
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@ function hide_open_menus()
|
|||
}
|
||||
}
|
||||
|
||||
contextmenus.menu_is_open =
|
||||
function menu_is_open()
|
||||
{
|
||||
return document.getElementsByClassName("open_contextmenu").length > 0;
|
||||
}
|
||||
|
||||
contextmenus.show_menu =
|
||||
function show_menu(event, menu)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue