90d76fb5be
I noticed that color picker HTML element retains the last picked value from user even after the page is reloaded. This will cause inconsistency between `color` value and the actual `colorEl.value`. This commit will always initialize color picker default value to black, the same way that `color` variable was set originally. |
||
---|---|---|
.. | ||
index.html | ||
script.js | ||
style.css |