diff --git a/src/echo.js b/src/echo.js index ce86a45..3399e13 100644 --- a/src/echo.js +++ b/src/echo.js @@ -76,7 +76,7 @@ window.Echo = (function (global, document, undefined) { */ var init = function (obj) { - var nodes = document.querySelectorAll('[data-echo]'); + var nodes = document.querySelectorAll('img[data-echo]'); var opts = obj || {}; offset = parseInt(opts.offset || 0); throttle = parseInt(opts.throttle || 250);