Closed Chairowell closed 1 year ago
img.addEventListener('load', function() { colorThief.getColor(img); });
Fixed. Thanks!
https://lokeshdhakar.com/projects/color-thief/
Missing " ) "
Should be changed to
img.addEventListener('load', function() { colorThief.getColor(img); });