Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

Commit

Permalink
jsdoc, because yes
Browse files Browse the repository at this point in the history
  • Loading branch information
DonovanDMC committed Dec 27, 2020
1 parent 1d25d34 commit e97dabc
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ <h1 class="title">E621 Downloader</h1>
total: Number(v.max)
};
}
/**
* @param {string} text
* @param {string} type
*/
function createLogEntry(text, type) {
console.debug(text);
text = text.replace(/\n/g, "<br>");
Expand All @@ -86,11 +90,6 @@ <h1 class="title">E621 Downloader</h1>
document.querySelector("div#debug").scrollTop = document.querySelector(
"div#debug"
).scrollHeight;
/*const tooLong = checkLogSize();
if(tooLong) {
const e = Array.from(document.querySelectorAll("div#debug debug-entry"));
e[0].parentNode.removeChild(e[0]);
}*/
}
let timer, lastAutocomplete;
const tv = document.querySelector("input[name=tags]");
Expand Down

0 comments on commit e97dabc

Please sign in to comment.