refs #4869 no borrar pin al abrit dialogo #10

Merged
robert merged 3 commits from 4869-workerTimeControl into test 2023-02-15 09:29:32 +00:00
1 changed files with 0 additions and 1 deletions
Showing only changes of commit d1e1f46621 - Show all commits

View File

@ -10,7 +10,6 @@ function setEvents() {
const heartEl = document.querySelector('body > h1 > span');
heartEl.addEventListener('click', function() {
const key = prompt('Introduce la clave');
console.log('key', key)
if (key === null) return
localStorage.setItem('vnKey', key);
});