mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix display help links
This commit is contained in:
@ -423,7 +423,11 @@ function helpCommandCallback(_, type) {
|
||||
}
|
||||
}
|
||||
|
||||
window['displayHelp'] = (page) => helpCommandCallback(null, page);
|
||||
$(document).on('click', '[data-displayHelp]', function (e) {
|
||||
e.preventDefault();
|
||||
const page = String($(this).data('displayhelp'));
|
||||
helpCommandCallback(null, page);
|
||||
});
|
||||
|
||||
function setBackgroundCallback(_, bg) {
|
||||
if (!bg) {
|
||||
|
Reference in New Issue
Block a user