Skip to content

Commit 0bc8be3

Browse files
Update wled00/data/index.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 7c196c5 commit 0bc8be3

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

wled00/data/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3426,12 +3426,7 @@ function savePresetsGen()
34263426
uploadFileWithText("/presets.json", gId("presetsGen").value);
34273427
}
34283428

3429-
function savePresetsGen()
3430-
{
3431-
if (!confirm('Are you sure to (over)write presets.json?')) return;
3432-
3433-
uploadFileWithText("/presets.json", gId("presetsGen").value);
3434-
}
3429+
// (duplicate savePresetsGen removed)
34353430

34363431

34373432
size();

0 commit comments

Comments
 (0)