var name fixed
This commit is contained in:
parent
7ec1529cf6
commit
cec258429c
1 changed files with 2 additions and 2 deletions
|
|
@ -79,10 +79,10 @@ async function checkCompose(){
|
||||||
document.addEventListener("DOMContentLoaded", async () => {
|
document.addEventListener("DOMContentLoaded", async () => {
|
||||||
let inCompose = await checkCompose();
|
let inCompose = await checkCompose();
|
||||||
//console.log("inCompose: "+inCompose)
|
//console.log("inCompose: "+inCompose)
|
||||||
const actionsContainer = document.getElementById("prompts-container");
|
const promptsContainer = document.getElementById("prompts-container");
|
||||||
defaultPrompts.forEach((prompt) => {
|
defaultPrompts.forEach((prompt) => {
|
||||||
if((prompt.type == 0)||((prompt.type == 1)&&(!inCompose))||((prompt.type == 2)&&(inCompose))){
|
if((prompt.type == 0)||((prompt.type == 1)&&(!inCompose))||((prompt.type == 2)&&(inCompose))){
|
||||||
addAction(prompt, actionsContainer)
|
addAction(prompt, promptsContainer)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
i18n.updateDocument();
|
i18n.updateDocument();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue