From 67c0c279aa4279c09ec6753ecd55fdc6c945059d Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 18 Mar 2023 23:11:28 -0400 Subject: [PATCH] Remove extra whitespace in Content\Text\HTMLTest --- tests/src/Content/Text/HTMLTest.php | 102 ++++++++++++++-------------- 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/tests/src/Content/Text/HTMLTest.php b/tests/src/Content/Text/HTMLTest.php index 3225d7f60a..259d0e6f02 100644 --- a/tests/src/Content/Text/HTMLTest.php +++ b/tests/src/Content/Text/HTMLTest.php @@ -627,13 +627,13 @@ its surprisingly good", e.preventDefault(); // console.log('[id=\"' + this.getAttribute('href') + '\"]'); // console.log(document.getElementById('[id=\"' + this.getAttribute('href') + '\"]')); - + document.querySelector('[ez-toc-data-id=\"' + decodeURI(this.getAttribute('href')) + '\"]').scrollIntoView({ behavior: 'smooth' }); }); }); -}; +}; document.addEventListener('DOMContentLoaded', ezTocScrollScriptJS, false);