mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
v. 0.60.03b
This commit is contained in:
parent
4b9a695429
commit
cf4ae9e177
2 changed files with 3 additions and 3 deletions
|
|
@ -1269,5 +1269,5 @@
|
|||
<input type="file" accept=".txt" id="namesbaseToLoad">
|
||||
</div>
|
||||
|
||||
<script src="script.js?version=0.60.01b"></script>
|
||||
<script src="script.js?version=0.60.03b"></script>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -7627,6 +7627,7 @@ function fantasyMap() {
|
|||
var id = this.id;
|
||||
var dns_allow_popup_message = localStorage.getItem("dns_allow_popup_message");
|
||||
if (!dns_allow_popup_message) {
|
||||
localStorage.clear();
|
||||
var message = "Generator uses pop-up window to download files. ";
|
||||
message += "Please ensure your browser does not block popups. ";
|
||||
message += "Please check browser settings and turn off adBlocker if it is enabled";
|
||||
|
|
@ -7634,11 +7635,10 @@ function fantasyMap() {
|
|||
$("#alert").dialog({title: "File saver. Please enable popups!",
|
||||
buttons: {
|
||||
"Don't show again": function() {
|
||||
localStorage.clear();
|
||||
localStorage.setItem("dns_allow_popup_message", true);
|
||||
$(this).dialog("close");
|
||||
},
|
||||
Close: function() {localStorage.clear(); $(this).dialog("close");}
|
||||
Close: function() {$(this).dialog("close");}
|
||||
},
|
||||
position: {my: "center", at: "center", of: "svg"}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue