remove console.log's that are no longer needed
This commit is contained in:
parent
f2b1b230ff
commit
cd5bc9bec0
2 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue