Skip to content

Commit

Permalink
on x vanish immediately
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-ottolenghi committed Oct 19, 2023
1 parent 713efdf commit b099bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/11-feedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const URL = 'https://uglfznxroe.execute-api.us-east-1.amazonaws.com/dev/Feedback
e.preventDefault()
sendRequest({ helpful: true }) // get positive feedback even if thet bail out before completion
//localStorage.removeItem('userJourney')
setTimeout(() => { fadeOut(feedback, 50) }, 2000)
setTimeout(() => { fadeOut(feedback, 50) }, 0)
})

feedback.querySelector('.primary').addEventListener('click', function (e) {
Expand Down

0 comments on commit b099bcc

Please sign in to comment.