Quick fix: bad quote

This commit is contained in:
FlamedDogo99 2024-06-15 19:35:18 -06:00
parent dcfe79b99a
commit 04699b19aa

View File

@ -227,7 +227,7 @@ function createTouchButton(buttonClass, buttonDisplay, elementName) {
touchButton.classList.add(buttonDisplay);
touchButton.classList.add("mobileControl");
touchButton.addEventListener("touchmove", function(e){e.preventDefault()}, false);
touchButton.addEventListener(contextmenu, function(e){e.preventDefault()});
touchButton.addEventListener("contextmenu", function(e){e.preventDefault()});
return touchButton;
}