Skip to content

Commit

Permalink
fix(box-shadow): reset button not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Dun-sin committed Aug 1, 2024
1 parent fea9a66 commit b10feaf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/box-shadow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b10feaf

Please sign in to comment.