mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
ELIMINATE debug
This commit is contained in:
@@ -6811,7 +6811,6 @@ function imgGenRetry() {
|
|||||||
$el("#story-commentary-settings > .add").addEventListener("click", () => makeCommentatorCard());
|
$el("#story-commentary-settings > .add").addEventListener("click", () => makeCommentatorCard());
|
||||||
|
|
||||||
async function showStoryReview(data) {
|
async function showStoryReview(data) {
|
||||||
console.log(`${data.who}: ${data.review}`)
|
|
||||||
storyReviewImg.src = `/get_commentator_picture/${data.id}`;
|
storyReviewImg.src = `/get_commentator_picture/${data.id}`;
|
||||||
$el("#story-review-author").innerText = data.who;
|
$el("#story-review-author").innerText = data.who;
|
||||||
$el("#story-review-content").innerText = data.review;
|
$el("#story-review-content").innerText = data.review;
|
||||||
@@ -6821,7 +6820,6 @@ function imgGenRetry() {
|
|||||||
socket.on("show_story_review", showStoryReview);
|
socket.on("show_story_review", showStoryReview);
|
||||||
|
|
||||||
let x = $el("#story-commentary-enable").querySelector("input")
|
let x = $el("#story-commentary-enable").querySelector("input")
|
||||||
console.log(x)
|
|
||||||
|
|
||||||
// Bootstrap toggle requires jQuery for events
|
// Bootstrap toggle requires jQuery for events
|
||||||
$($el("#story-commentary-enable").querySelector("input")).change(function() {
|
$($el("#story-commentary-enable").querySelector("input")).change(function() {
|
||||||
|
Reference in New Issue
Block a user