mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-18 21:20:39 +01:00
Remove not needed reasoning ui event handler
This commit is contained in:
parent
4094887624
commit
23d2c40e05
@ -302,11 +302,6 @@ function registerReasoningMacros() {
|
||||
}
|
||||
|
||||
function setReasoningEventHandlers() {
|
||||
$(document).on('click', '.mes_reasoning_summary', function () {
|
||||
// If you toggle summary header while editing reasoning, yup - we just cancel it
|
||||
$(this).closest('.mes').find('.mes_reasoning_edit_cancel:visible').trigger('click');
|
||||
});
|
||||
|
||||
$(document).on('click', '.mes_reasoning_details', function (e) {
|
||||
if (!e.target.closest('.mes_reasoning_actions') && !e.target.closest('.mes_reasoning_header')) {
|
||||
e.preventDefault();
|
||||
|
Loading…
x
Reference in New Issue
Block a user