Update built-in extensions to use fixed order in extensions menu

This commit is contained in:
Cohee
2024-06-24 22:15:08 +03:00
parent 508b685fdc
commit c8b9b62d8a
12 changed files with 36 additions and 120 deletions

View File

@@ -572,7 +572,7 @@ jQuery(async () => {
const buttonHtml = await renderExtensionTemplateAsync('translate', 'buttons');
$('#extensionsMenu').append(buttonHtml);
$('#extensions_settings2').append(html);
$('#translation_container').append(html);
$('#translate_chat').on('click', onTranslateChatClick);
$('#translate_input_message').on('click', onTranslateInputMessageClick);
$('#translation_clear').on('click', onTranslationsClearClick);