remove console.log's that are no longer needed

This commit is contained in:
hippoz 2020-10-25 18:35:25 +02:00
parent f2b1b230ff
commit cd5bc9bec0
2 changed files with 0 additions and 3 deletions

View file

@ -4,12 +4,10 @@ const blogArticles = {
const blogPopulateArticleList = (elementId) => {
const element = A(`#${elementId}`);
console.log(element);
let html = '';
for (const [k, v] of Object.entries(blogArticles)) {
html += `<a href="#" onclick="blogVisitArticle('${k}', '${v}')">${k}</a>`;
console.log(html);
}
element.html(html);

View file

@ -121,7 +121,6 @@ const updateFromCurrentPathname = () => {
for (const [route, action] of Object.entries(dynamicRoutesActions)) {
if (pathname.startsWith(route)) {
const arg = stripTrailingSlash(pathname).split('/')[2];
console.log(arg);
action(arg);
break;
}