mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 03:51:23 +01:00
Added event arguments to listeners that didn't have them
This commit is contained in:
parent
3e4c2662ef
commit
6d9c07076a
3 changed files with 3 additions and 3 deletions
|
|
@ -575,7 +575,7 @@ function fetchTextureURL(url) {
|
|||
|
||||
// Style map filters handler
|
||||
mapFilters.addEventListener("click", applyMapFilter);
|
||||
function applyMapFilter() {
|
||||
function applyMapFilter(event) {
|
||||
if (event.target.tagName !== "BUTTON") return;
|
||||
const button = event.target;
|
||||
svg.attr("filter", null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue