mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-04 17:41:23 +01:00
fix typo
This commit is contained in:
parent
8b6566ac59
commit
56bdc803d6
2 changed files with 4 additions and 4 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
const GPT_MODELS = ["gpt-4o-mini", "chatgpt-4o-latest", "gpt-4o", "gpt-4-turbo", "gpt-4", "gpt-3.5-turbo"];
|
const GPT_MODELS = ["gpt-4o-mini", "chatgpt-4o-latest", "gpt-4o", "gpt-4-turbo", "gpt-4", "gpt-3.5-turbo"];
|
||||||
const SYSTEM_MESSAGE = "I'm working on my fantasy map.";
|
const SYSTEM_MESSAGE = "I'm working on my fantasy map.";
|
||||||
|
|
||||||
function geneateWithAi(defaultPrompt, onApply) {
|
function generateWithAi(defaultPrompt, onApply) {
|
||||||
updateValues();
|
updateValues();
|
||||||
|
|
||||||
$("#aiGenerator").dialog({
|
$("#aiGenerator").dialog({
|
||||||
|
|
@ -26,8 +26,8 @@ function geneateWithAi(defaultPrompt, onApply) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (modules.geneateWithAi) return;
|
if (modules.generateWithAi) return;
|
||||||
modules.geneateWithAi = true;
|
modules.generateWithAi = true;
|
||||||
|
|
||||||
function updateValues() {
|
function updateValues() {
|
||||||
byId("aiGeneratorResult").value = "";
|
byId("aiGeneratorResult").value = "";
|
||||||
|
|
|
||||||
|
|
@ -160,7 +160,7 @@ function editNotes(id, name) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
geneateWithAi(prompt, onApply);
|
generateWithAi(prompt, onApply);
|
||||||
}
|
}
|
||||||
|
|
||||||
function downloadLegends() {
|
function downloadLegends() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue