StocksNew/public/assets/js/pages/project-overview.init.js
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

1 line
226 B
JavaScript

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")})});