From c7068275a1a5c75694703deff3061fcfb23e935b Mon Sep 17 00:00:00 2001 From: Daniel Guillan Date: Thu, 24 Jul 2014 20:15:17 +0200 Subject: [PATCH] Fixed typo in README example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9d718f9..0db794a 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ The callback will be passed the element that has been updated and what the updat echo.init({ callback: function(element, op) { if(op === 'load') { - elemend.classList.add('loaded'); + element.classList.add('loaded'); } else { - elemend.classList.remove('loaded'); + element.classList.remove('loaded'); } } });