Merge branch 'dev' of rajukottedi/chirpy-blogging into prod

This commit is contained in:
Bangara Raju Kottedi 2024-04-06 04:52:00 +05:30 committed by Gogs
commit 85554b9a65
2 changed files with 4 additions and 6 deletions

View File

@ -45,7 +45,7 @@
}
likesCount.innerHTML = result;
heartIcon.style.pointerEvents = 'auto';
})
});
}
var apiUrl = serviceUrl + "/GetPostLikes?siteId=" + siteId + "&postId=" + postId;
@ -62,5 +62,5 @@
}
apiCall(apiUrl, "click");
});
})
</script>

View File

@ -26,14 +26,12 @@
</p>
</blockquote>
<script type="text/javascript">
<script>
function handleDelayedClick() {
setTimeout(function() {
// Actual click event handler function
heartIcon.click();
}, 1000); // Delay time in milliseconds
}, 1000);
}
const tyLike = document.getElementById("ty-like");