mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
lint: Require semicolons
This commit is contained in:
@ -119,7 +119,7 @@ async function onRegexEditorOpenClick(existingId) {
|
||||
if (existingScript.scriptName) {
|
||||
editorHtml.find('.regex_script_name').val(existingScript.scriptName);
|
||||
} else {
|
||||
toastr.error('This script doesn\'t have a name! Please delete it.')
|
||||
toastr.error('This script doesn\'t have a name! Please delete it.');
|
||||
return;
|
||||
}
|
||||
|
||||
@ -176,7 +176,7 @@ async function onRegexEditorOpenClick(existingId) {
|
||||
editorHtml
|
||||
.find('input[name="replace_position"]')
|
||||
.filter(':checked')
|
||||
.map(function () { return parseInt($(this).val()) })
|
||||
.map(function () { return parseInt($(this).val()); })
|
||||
.get()
|
||||
.filter((e) => !isNaN(e)) || [],
|
||||
disabled:
|
||||
@ -222,8 +222,8 @@ function migrateSettings() {
|
||||
Object.values(regex_placement).filter((e) => e !== regex_placement.MD_DISPLAY) :
|
||||
script.placement = script.placement.filter((e) => e !== regex_placement.MD_DISPLAY);
|
||||
|
||||
script.markdownOnly = true
|
||||
script.promptOnly = true
|
||||
script.markdownOnly = true;
|
||||
script.promptOnly = true;
|
||||
|
||||
performSave = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user