== to === in context menu
This commit is contained in:
parent
fb416498d5
commit
74203afb39
2 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ class Contextmenu {
|
|||
static setup() {
|
||||
Contextmenu.currentmenu = "";
|
||||
document.addEventListener("click", event => {
|
||||
if (Contextmenu.currentmenu == "") {
|
||||
if (Contextmenu.currentmenu === "") {
|
||||
return;
|
||||
}
|
||||
if (!Contextmenu.currentmenu.contains(event.target)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue