Update script.js

Hotfix for 167
This commit is contained in:
Azgaar 2018-11-27 13:43:53 +03:00 committed by GitHub
parent 0e23f9dbc5
commit 04373d9285
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,6 @@
// 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
// GNU General Public License v3.0
// To programmers:
// I don't mind of any help with programming
@ -5921,8 +5920,10 @@ function fantasyMap() {
overlay.append("use").attr("xlink:href","#rose");
}
calculateFriendlyOverlaySize();
$("#toggleOverlay").removeClass("buttonoff");
} else {
overlay.selectAll("*").remove();
$("#toggleOverlay").addClass("buttonoff");
}
}