fix some linting

6eb89bd21c8eabcb30d0b346f41d6b40ae260840

Wolfsblvt <wolfsblvt@gmail.com>

2 files changed, +5 -5Showing whitespace changes
public/scripts/utils.js+1 -1
@@ -1047,7 +1047,7 @@ export function getImageSizeFromDataURL(dataUrl) {
10471047
10481048/**
10491049 * Gets the filename of the character avatar without extension
10501050 * @param {string|number?} [chid=null] - Character ID. If not provided, uses the current character ID
10511051 * @param {object} [options={}] - Options arguments
10521052 * @param {string?} [options.manualAvatarKey=null] - Manually take the following avatar key, instead of using the chid to determine the name
10531053 * @returns {string?} The filename of the character avatar without extension, or null if the character ID is invalid
public/scripts/world-info.js+4 -4
@@ -966,7 +966,7 @@ function registerWorldInfoSlashCommands() {
966966 /**
967967 * Gets the name of the character-bound lorebook.
968968 * @param {import('./slash-commands/SlashCommand.js').NamedArguments} args Named arguments
969969 * @param {import('./slash-commands/SlashCommand.js').UnnamedArgumentsstring} name Character name
970970 * @returns {string} The name of the character-bound lorebook, a JSON string of the character's lorebooks, or an empty string
971971 */
972972 function getCharBookCallback({ type }, name) {
@@ -3443,7 +3443,7 @@ function createEntryInputAutocomplete(input, callback, { allowMultiple = false }
34433443 });
34443444
34453445 $(input).on('focus click', function () {
34463446 $(input).autocomplete('search', allowMultiple ? String($(input).val()).split(/,\s*/).pop() : String($(input).val()));
34473447 });
34483448}
34493449
@@ -5118,7 +5118,7 @@ export function openWorldInfoEditor(worldName) {
51185118
51195119/**
51205120 * Assigns a lorebook to the current chat.
51215121 * @param {PointerEventJQuery.ClickEvent<Document, undefined, any, any>} event Pointer event
51225122 * @returns {Promise<void>}
51235123 */
51245124export async function assignLorebookToChat(event) {
@@ -5157,7 +5157,7 @@ export async function assignLorebookToChat(event) {
51575157 saveMetadata();
51585158 });
51595159
51605160 returnawait callGenericPopup(template, POPUP_TYPE.TEXT);
51615161}
51625162
51635163/**