mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add schmoggle for auto select input
This commit is contained in:
@ -10658,6 +10658,7 @@ jQuery(async function () {
|
||||
/* $('#set_character_world').on('click', openCharacterWorldPopup); */
|
||||
|
||||
$(document).on('focus', 'input.auto-select, textarea.auto-select', function () {
|
||||
if (!power_user.enable_auto_select_input) return;
|
||||
const control = $(this)[0];
|
||||
if (control instanceof HTMLInputElement || control instanceof HTMLTextAreaElement) {
|
||||
control.select();
|
||||
|
Reference in New Issue
Block a user