mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-24 09:40:21 +00:00
primer commit. añadido tema Velzon
This commit is contained in:
@ -0,0 +1,17 @@
|
||||
/*
|
||||
Template Name: Velzon - Admin & Dashboard Template
|
||||
Author: Themesbrand
|
||||
Website: https://Themesbrand.com/
|
||||
Contact: Themesbrand@gmail.com
|
||||
File: Project overview init js
|
||||
*/
|
||||
|
||||
// favourite btn
|
||||
var favouriteBtn = document.querySelectorAll(".favourite-btn");
|
||||
if (favouriteBtn) {
|
||||
Array.from(document.querySelectorAll(".favourite-btn")).forEach(function (item) {
|
||||
item.addEventListener("click", function (event) {
|
||||
this.classList.toggle("active");
|
||||
});
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user