Skip to content

Commit

Permalink
Fix image border color not updating
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomPerson3465 committed Apr 7, 2024
1 parent fd8291a commit 7f6c128
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion top50/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -817,6 +817,7 @@ function zero() {
for (i = 0; i<data.data.length; i++) {
data.data[i].count = 0;
}
update()
}
}

Expand Down Expand Up @@ -901,7 +902,7 @@ document.getElementById('imageBorder').addEventListener('change', function () {
fix()
});

document.getElementById('imageBorder').addEventListener('change', function () {
document.getElementById('imageBorderColor').addEventListener('change', function () {
let color = this.value;
data.imageBorderColor = color;
fix()
Expand Down

0 comments on commit 7f6c128

Please sign in to comment.