diff --git a/cypress/test-pages/cors.html b/cypress/test-pages/cors.html
index eb4c7ef..5fab480 100644
--- a/cypress/test-pages/cors.html
+++ b/cypress/test-pages/cors.html
@@ -27,7 +27,7 @@
if (img.complete) {
getColorFromImage(img);
} else {
- image.addEventListener('load', function() {
+ img.addEventListener('load', function() {
getColorFromImage(img);
});
}