mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 05:44:24 +00:00
test: Fix cors test, typo
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
if (img.complete) {
|
||||
getColorFromImage(img);
|
||||
} else {
|
||||
image.addEventListener('load', function() {
|
||||
img.addEventListener('load', function() {
|
||||
getColorFromImage(img);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user