master_template/public/assets/js/pages/project-overview.init.js

1 line
226 B
JavaScript
Raw Permalink Normal View History

2024-06-10 12:21:58 +00:00
var favouriteBtn=document.querySelectorAll(".favourite-btn");favouriteBtn&&Array.from(document.querySelectorAll(".favourite-btn")).forEach(function(t){t.addEventListener("click",function(t){this.classList.toggle("active")})});