Fix class and element names

This commit is contained in:
Bill Thornton
2020-09-08 15:43:19 -04:00
committed by vitorsemeano
parent 54d71126d9
commit 97699d513b
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ export default function (options) {
}
const elem = document.createElement('div');
elem.classList.add('../toast/toast');
elem.classList.add('toast');
elem.innerHTML = options.text;
document.body.appendChild(elem);