Skip to content

Commit

Permalink
fix: demo site color property added twice (#614)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzr authored Oct 22, 2023
1 parent 3d4e077 commit 3711688
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/demo/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ const preview = {
const option = Array.prototype.find.call(selectElement.options, (o) => o.value === property);
selectElement.disabled = false;
option.disabled = false;
selectElement.value = option.value;
// update and exit
this.update();
},
Expand Down

0 comments on commit 3711688

Please sign in to comment.