mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
API-elements are correctly removed on refresh
This commit is contained in:
@@ -41,7 +41,10 @@ window.addEventListener("DOMContentLoaded", function() {
|
||||
document.getElementById("descriptions_cont").innerHTML = "";
|
||||
document.getElementById("thumbnails_cont").innerHTML = "";
|
||||
document.querySelector(".names-container").innerHTML = "";
|
||||
document.querySelector(".api_token_container").remove();
|
||||
var elements = document.querySelectorAll(".api_token_container");
|
||||
for(var i = 0; i < elements.length; i++) {
|
||||
elements[i].remove();
|
||||
}
|
||||
|
||||
addClass(".channel_things", "hide");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user