Merge pull request #18 from iantrich/patch-1

fix typo
This commit is contained in:
Thomas Lovén 2019-03-12 15:28:44 +01:00 committed by GitHub
commit 05e1a9a76f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,7 @@ class {
config
);
element.style.display = "None";
const time = setTimeout(() => {
const timer = setTimeout(() => {
element.style.display = "";
}, 2000);
// Remove error if element is defined later