Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change : const emptyDivElements = contentElement.querySelectorAll('div:empty'); for : const emptyDivElements = contentElement.querySelectorAll('div'); Thanks to this change, the for loop no longer searches for empty divs, but for divs with a length of 0.
- Loading branch information