Skip to content

Commit

Permalink
20241220修改js
Browse files Browse the repository at this point in the history
  • Loading branch information
anniewuu00 committed Dec 20, 2024
1 parent b3033e2 commit 7f8c95d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/customize.js
Original file line number Diff line number Diff line change
Expand Up @@ -2667,7 +2667,7 @@ document.addEventListener('DOMContentLoaded', () => {
const updateSegmentedControl = () => {
const segments = document.querySelectorAll('.segment');
const count = segments.length;
segmentedControl.style.setProperty('--options-count', count);
// segmentedControl.style.setProperty('--options-count', count);

// 获取滑块元素
const slider = document.querySelector('.slider');
Expand Down

0 comments on commit 7f8c95d

Please sign in to comment.