mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove not needed reasoning ui event handler
This commit is contained in:
@ -302,11 +302,6 @@ function registerReasoningMacros() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setReasoningEventHandlers() {
|
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) {
|
$(document).on('click', '.mes_reasoning_details', function (e) {
|
||||||
if (!e.target.closest('.mes_reasoning_actions') && !e.target.closest('.mes_reasoning_header')) {
|
if (!e.target.closest('.mes_reasoning_actions') && !e.target.closest('.mes_reasoning_header')) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
Reference in New Issue
Block a user