mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Switch to module init function pattern
This commit is contained in:
@ -80,7 +80,7 @@ function onServerConnectClick() {
|
||||
});
|
||||
}
|
||||
|
||||
jQuery(function () {
|
||||
export function initServerHistory() {
|
||||
$('[data-server-history]').each(createServerAutocomplete);
|
||||
$(document).on('click', '[data-server-connect]', onServerConnectClick);
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user