Skip to content

Commit da1b983

Browse files
author
prima
committed
fix: Wording and popup for mod list fixes
1 parent 244ebd0 commit da1b983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

klite.embd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14486,7 +14486,7 @@ Current version indicated by LITEVER below.
1448614486
}
1448714487
} catch (e) { }
1448814488
let txt = `Here, you can apply third-party mod scripts shared by other users.<br><br><span class='color_red'>Caution: This mod will have full access to your story and API keys, so only run third-party mods that you trust!<br><br>Mods must always be manually applied every time unless 'Apply Mod On Startup' is selected. If a startup mod breaks KoboldAI Lite, add ?resetmod=1 to the url to uninstall it.</span><br><br>Want to start modding? <a href='#' class='color_blueurl' onclick='simplemodexample()'>Click here</a> to load a simple example mod.<br><br><div><span>Apply Mod On Startup? (Extreme Caution!) </span><input type='checkbox' id='apply_mod_on_start' style='vertical-align: top;' ${applyonstart?'checked':''}></div><div><button type="button" class="btn btn-primary" onclick="load_inputbox_from_file()">Import UserMod From File</button></div>`;
14489-
txt += `<div><button type="button" class="btn btn-primary" onclick="modManager.showModList()">Apply third party mods from internet</button></div>`
14489+
txt += `<div><button type="button" class="btn btn-primary" onclick="modManager.showModListWarning()">Apply third party mods from internet</button></div>`
1449014490
inputBoxOkCancel(txt,"Apply Third-Party Mod",currmod,"Paste Mod Script Here",()=>{
1449114491
let userinput = getInputBoxValue().trim();
1449214492
applyonstart = (document.getElementById("apply_mod_on_start").checked?true:false);
@@ -36234,7 +36234,7 @@ flowchart TD\n${treeToViewOutput.outputText.trim()}`
3623436234
}
3623536235
else
3623636236
{
36237-
msgboxYesNo("Are you sure you wish to use these mods? The page will reload after the mod list have been updated.", "Confirm mods", () => {
36237+
msgboxYesNo("Are you sure you wish to use these mods? The page will reload after the mods have been applied.", "Confirm mods", () => {
3623836238
this.enableModList(modsSelected)
3623936239
})
3624036240
}

0 commit comments

Comments
 (0)