Fix for clearing api-token-list in adminpanel on refresh

This commit is contained in:
Kasper Rynning-Tønnesen
2018-03-04 13:27:09 +01:00
parent 946bbb1c65
commit 552cd5eb9e
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ $(document).on("click", "#refresh_all", function(e){
e.preventDefault();
$("#descriptions_cont").empty();
$("#thumbnails_cont").empty();
$("#api_token_name").remove();
$(".api_token_container").remove();
$.ajax({
type: "GET",
url: "/api/api_token",