mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
Update script.js
Hotfix for 167
This commit is contained in:
parent
0e23f9dbc5
commit
04373d9285
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
// Fantasy Map Generator main script
|
// Fantasy Map Generator main script
|
||||||
// Azgaar (maxganiev@yandex.com). Minsk, 2017-2018
|
// MIT License. Author: Azgaar (maxganiev@yandex.com). Minsk, 2017-2018
|
||||||
// https://github.com/Azgaar/Fantasy-Map-Generator
|
// https://github.com/Azgaar/Fantasy-Map-Generator
|
||||||
// GNU General Public License v3.0
|
|
||||||
|
|
||||||
// To programmers:
|
// To programmers:
|
||||||
// I don't mind of any help with programming
|
// I don't mind of any help with programming
|
||||||
|
|
@ -5921,8 +5920,10 @@ function fantasyMap() {
|
||||||
overlay.append("use").attr("xlink:href","#rose");
|
overlay.append("use").attr("xlink:href","#rose");
|
||||||
}
|
}
|
||||||
calculateFriendlyOverlaySize();
|
calculateFriendlyOverlaySize();
|
||||||
|
$("#toggleOverlay").removeClass("buttonoff");
|
||||||
} else {
|
} else {
|
||||||
overlay.selectAll("*").remove();
|
overlay.selectAll("*").remove();
|
||||||
|
$("#toggleOverlay").addClass("buttonoff");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue