From 07522f86d8e6b50f4c138d71d6c3595b89febf1f Mon Sep 17 00:00:00 2001 From: Lokesh Dhakar Date: Sun, 25 Aug 2019 18:29:35 -0700 Subject: [PATCH] test: Fix cors test, typo --- cypress/test-pages/cors.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }); }