From 2cc48e7163b4a0cb6246ce7f2ed45f776a4db56b Mon Sep 17 00:00:00 2001 From: KoboldAI Dev Date: Sat, 22 May 2021 22:06:10 -0400 Subject: [PATCH] Bugfix for Author's Note Depth slider not doing anything. --- static/application.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/application.js b/static/application.js index 7adbbc62..54a6debd 100644 --- a/static/application.js +++ b/static/application.js @@ -828,6 +828,10 @@ $(document).ready(function(){ hideNewStoryPopup(); }); + anote_slider.on("input", function () { + socket.send({'cmd': 'anotedepth', 'data': $(this).val()}); + }); + saveasinput.on("input", function () { if(saveasinput.val() == "") { disableButtons([saveas_accept]);