* smoothen navigation to chat configuring.

This commit is contained in:
liwenrui
2023-11-09 08:58:48 +08:00
parent 03a0486280
commit 5fe62fee46
+7
View File
@@ -129,5 +129,12 @@
if($(e.target).closest('#chat-switch,#ai-chat-view,#xx-embed,#chatBtn').length) return;
$('#chat-container').hide();
});
/* Handle configure link click, use $.apps.open() instead. */
$('#chat-container .unconfigured > a').click(function(e)
{
e.preventDefault();
$.apps.open($(this).attr('href'));
});
});
</script>