Skip to content

Commit

Permalink
Removed debugging code...
Browse files Browse the repository at this point in the history
  • Loading branch information
computerblade-official committed Jan 4, 2025
1 parent 7025831 commit 101abbd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,6 @@ async function getPostData(id) {
const posts = await resp.json();
const p = posts.map(post => parse(post.content));
const mp = JSON.parse(JSON.stringify(p));
console.log(p);
console.log(mp);
id -= 1;
postTitleTag.innerHTML = mp[id]['title'];
postImgTag.src = './public/posts/' + mp[id]['img'];
Expand Down

0 comments on commit 101abbd

Please sign in to comment.