Skip to content

Commit

Permalink
Fix spacing #72197
Browse files Browse the repository at this point in the history
  • Loading branch information
davisrtilde committed Jul 29, 2024
1 parent 90f8974 commit 3726b61
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/polyfills/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,12 @@ if (!Element.prototype.closest) {
constructor.prototype.children == null) {
Object.defineProperty(constructor.prototype, 'children', {
get: function() {
let nodes = [];
try {
nodes = this.childNodes;
} catch(error) {
console.log(error);
}
let nodes = [];
try {
nodes = this.childNodes;
} catch(error) {
console.log(error);
}
let i = 0, node, children = [];
while (node = nodes[i++]) {
if (node.nodeType === 1) {
Expand Down

0 comments on commit 3726b61

Please sign in to comment.