Teste de filtros de projetos
Deploy / Deploy (push) Successful in 1m22s
Details
Deploy / Deploy (push) Successful in 1m22s
Details
This commit is contained in:
parent
6f50de815f
commit
01137c967c
|
|
@ -268,6 +268,14 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||
const fullEditBtn = document.getElementById('full-edit-btn');
|
||||
const closeButtons = document.querySelectorAll('.modal-background, .modal-card-head .delete, #close-modal-btn');
|
||||
|
||||
function normalizarChaveJS(str) {
|
||||
if (!str) return "";
|
||||
return str.toString()
|
||||
.toLowerCase()
|
||||
.normalize("NFD").replace(/[\u0300-\u036f]/g, "")
|
||||
.replace(/[^a-z0-9]/g, "");
|
||||
}
|
||||
|
||||
function openModal(url, title, btnText, btnLink) {
|
||||
if(!modal) return;
|
||||
modalTitle.textContent = title;
|
||||
|
|
|
|||
Loading…
Reference in New Issue