fix the bug that bookmark could be clicked

This commit is contained in:
FarseaSH 2021-08-19 11:56:48 +08:00
parent d8e369f6d7
commit 56d08fa3d2

View file

@ -1,6 +1,6 @@
<!-- Like button --> <!-- Like button -->
<script> <script>
$("i").click(function(){ $(".fa-heart").click(function(){
if ($(this).attr("red") == 'true'){ if ($(this).attr("red") == 'true'){
$(this).animate({color:"#808080"}); $(this).animate({color:"#808080"});
$(this).attr("red", false); $(this).attr("red", false);