Remove redundant condition

07a601744361ac2c43f02259c77d6189066cf507

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/script.js+1 -1
@@ -4215,7 +4215,7 @@ export async function Generate(type, { automatic_trigger, force_name2, quiet_pro
42154215 : baseChatReplace(power_user.sysprompt.post_history, name1, name2);
42164216
42174217 // Only inject the jb if there is one
42184218 if (jailbreak && typeof(jailbreak) != 'undefined') {
42194219 // When continuing generation of previous output, last user message precedes the message to continue
42204220 if (isContinue) {
42214221 coreChat.splice(coreChat.length - 1, 0, { mes: jailbreak, is_user: true });