mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.54 - fixed 592
This commit is contained in:
parent
c2edda6a4a
commit
41779d9577
2 changed files with 10 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ function editReliefIcon() {
|
|||
}
|
||||
|
||||
function updateReliefIconSelected() {
|
||||
const type = elSelected.attr("href");
|
||||
const type = elSelected.attr("href") || elSelected.attr("data-type");
|
||||
const button = reliefIconsDiv.querySelector("svg[data-type='"+type+"']");
|
||||
|
||||
reliefIconsDiv.querySelectorAll("svg.pressed").forEach(b => b.classList.remove("pressed"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue