Closed t12ung closed 4 years ago
@t12ung Thanks for the PR. I understand your problem here.
Looking back at the code, I think it's better to do this.removeElement(this.toastElement);
as we already have an element reference and avoids the unnecessary parent element computation. What do you think?
Yes, of course. That would be much more efficient. I've updated the code for this PR.