Added a function to log last logs, in case of any crashes

This commit is contained in:
Kasper Rynning-Tønnesen
2019-03-21 20:53:44 +01:00
parent f3547cc028
commit d95ce57910
4 changed files with 26 additions and 6 deletions

View File

@@ -21,6 +21,10 @@ function removeAllListeners() {
socket.removeEventListener(id);
}
function list_last_logs() {
console.log(JSON.stringify(Helper.logs));
}
function filterPlaylistElements(page) {
var value = document.getElementById("filtersearch_input").value;
var search_type = document.querySelector(".category-advanced-select").value;