Remove obsolete colab popup

This commit is contained in:
SillyLossy
2023-05-11 16:19:27 +03:00
parent 18429bbc3b
commit 552296a203
3 changed files with 0 additions and 66 deletions

View File

@ -524,12 +524,10 @@ let novelai_settings;
let novelai_setting_names;
//css
var bg1_toggle = true; // inits the BG as BG1
var css_mes_bg = $('<div class="mes"></div>').css("background");
var css_send_form_display = $("<div id=send_form></div>").css("display");
let generate_loop_counter = 0;
const MAX_GENERATION_LOOPS = 5;
var colab_ini_step = 1;
let token;
@ -540,29 +538,6 @@ export function getRequestHeaders() {
};
}
//////////// Is this needed?
setInterval(function () {
switch (colab_ini_step) {
case 0:
$("#colab_popup_text").html("<h3>Initialization</h3>");
colab_ini_step = 1;
break;
case 1:
$("#colab_popup_text").html("<h3>Initialization.</h3>");
colab_ini_step = 2;
break;
case 2:
$("#colab_popup_text").html("<h3>Initialization..</h3>");
colab_ini_step = 3;
break;
case 3:
$("#colab_popup_text").html("<h3>Initialization...</h3>");
colab_ini_step = 0;
break;
}
}, 500);
/////////////
$.ajaxPrefilter((options, originalOptions, xhr) => {
xhr.setRequestHeader("X-CSRF-Token", token);
});