Merge branch 'dev' of rajukottedi/chirpy-blogging into prod
This commit is contained in:
commit
85554b9a65
@ -45,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
likesCount.innerHTML = result;
|
likesCount.innerHTML = result;
|
||||||
heartIcon.style.pointerEvents = 'auto';
|
heartIcon.style.pointerEvents = 'auto';
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
var apiUrl = serviceUrl + "/GetPostLikes?siteId=" + siteId + "&postId=" + postId;
|
var apiUrl = serviceUrl + "/GetPostLikes?siteId=" + siteId + "&postId=" + postId;
|
||||||
@ -62,5 +62,5 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
apiCall(apiUrl, "click");
|
apiCall(apiUrl, "click");
|
||||||
});
|
})
|
||||||
</script>
|
</script>
|
||||||
@ -26,14 +26,12 @@
|
|||||||
</p>
|
</p>
|
||||||
</blockquote>
|
</blockquote>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script>
|
||||||
|
|
||||||
function handleDelayedClick() {
|
function handleDelayedClick() {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
// Actual click event handler function
|
|
||||||
|
|
||||||
heartIcon.click();
|
heartIcon.click();
|
||||||
}, 1000); // Delay time in milliseconds
|
}, 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
const tyLike = document.getElementById("ty-like");
|
const tyLike = document.getElementById("ty-like");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user