mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add a null-check in bookmarks options
This commit is contained in:
@ -60,8 +60,8 @@ function getMainChatName(currentChat) {
|
||||
}
|
||||
|
||||
function showBookmarksButtons() {
|
||||
// In groups
|
||||
if (selected_group) {
|
||||
// In groups or without an active chat
|
||||
if (selected_group || !characters[this_chid].chat) {
|
||||
$("#option_back_to_main").hide();
|
||||
$("#option_new_bookmark").hide();
|
||||
}
|
||||
|
Reference in New Issue
Block a user