no more timeout

This commit is contained in:
Adrian Amaglio 2020-08-27 15:17:07 +02:00
parent d0461a4163
commit 58c52c3988

View File

@ -33,11 +33,11 @@ class JeanCloudContactFormNotifier {
messageElement.parentNode.removeChild(messageElement)
}
setTimeout(() => {
try {
messageElement.parentNode.removeChild(messageElement)
} catch (e) {} /* Silently fail if message was already deleted by click */
}, 10000)
//setTimeout(() => {
// try {
// messageElement.parentNode.removeChild(messageElement)
// } catch (e) {} /* Silently fail if message was already deleted by click */
//}, 10000)
}