This is an automated email from the ASF dual-hosted git repository. exceptionfactory pushed a commit to branch main-staging in repository https://gitbox.apache.org/repos/asf/nifi-site.git
commit 1e31b83d63cfefaf3c22e9ae5d0e521e84808cd0 Author: exceptionfactory <[email protected]> AuthorDate: Mon Nov 4 14:16:30 2024 -0600 NIFI-13915 Corrected component selected scroll handling (cherry picked from commit 9fc2704c38aabac8e8038019e99d1112b29dba5c) --- themes/nifi/layouts/section/components.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/themes/nifi/layouts/section/components.html b/themes/nifi/layouts/section/components.html index 4e355ce4..e51b5b84 100644 --- a/themes/nifi/layouts/section/components.html +++ b/themes/nifi/layouts/section/components.html @@ -118,7 +118,9 @@ <script type="text/javascript"> var componentSelected = document.getElementById('component-selected'); - componentSelected.scrollIntoView(); + if (componentSelected) { + componentSelected.scrollIntoView(); + } </script> </div>
