test: Fix cors test, typo

This commit is contained in:
Lokesh Dhakar
2019-08-25 18:29:35 -07:00
parent c9e6563a44
commit 07522f86d8

View File

@@ -27,7 +27,7 @@
if (img.complete) {
getColorFromImage(img);
} else {
image.addEventListener('load', function() {
img.addEventListener('load', function() {
getColorFromImage(img);
});
}