From 610b9696baa326f09a71c50101b2e32924b5304d Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Tue, 17 Oct 2023 22:02:28 +0000 Subject: [PATCH] Code Format --- components/lib/config/PrimeVue.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/lib/config/PrimeVue.js b/components/lib/config/PrimeVue.js index 6d1f29504..de1f40376 100644 --- a/components/lib/config/PrimeVue.js +++ b/components/lib/config/PrimeVue.js @@ -161,13 +161,13 @@ function switchTheme(currentTheme, newTheme, linkElementId, callback) { const linkElement = document.getElementById(linkElementId); const cloneLinkElement = linkElement.cloneNode(true); const newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme); - + cloneLinkElement.setAttribute('id', linkElementId + '-clone'); cloneLinkElement.setAttribute('href', newThemeUrl); cloneLinkElement.addEventListener('load', () => { linkElement.remove(); cloneLinkElement.setAttribute('id', linkElementId); - + if (callback) { callback(); }