From b10feaf26d7d262c22e71f08d72b0241d1c97b7b Mon Sep 17 00:00:00 2001 From: Dunsin Date: Thu, 1 Aug 2024 09:51:38 +0100 Subject: [PATCH] fix(box-shadow): reset button not working --- src/pages/box-shadow.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/box-shadow.ts b/src/pages/box-shadow.ts index 0f3fb01..60e28e4 100644 --- a/src/pages/box-shadow.ts +++ b/src/pages/box-shadow.ts @@ -182,10 +182,9 @@ function resetValues() { "[data-content='box-shadow'] #box-shadow-spread-field" )!.innerHTML = '5px'; + deleteQueryParam('values'); getResetButton(attribute).classList.remove('reset-show'); }); - - deleteQueryParam('values'); } // get values from all targets to get notified when values change.