From e5dbfd4285edd499ee4096a71bc1594f2edda74e Mon Sep 17 00:00:00 2001 From: Davis Ragels Date: Mon, 29 Jul 2024 14:22:39 +0300 Subject: [PATCH] Fix spacing #72197 --- src/polyfills/custom.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/polyfills/custom.js b/src/polyfills/custom.js index fe456f9..acc0abd 100644 --- a/src/polyfills/custom.js +++ b/src/polyfills/custom.js @@ -79,10 +79,10 @@ if (!Element.prototype.closest) { constructor.prototype.children == null) { Object.defineProperty(constructor.prototype, 'children', { get: function() { - let nodes = []; + let nodes = []; try { nodes = this.childNodes; - } catch(error) { + } catch (error) { console.log(error); } let i = 0, node, children = [];