diff --git a/dist/echo.js b/dist/echo.js index aa275c8..9122a2d 100644 --- a/dist/echo.js +++ b/dist/echo.js @@ -13,7 +13,7 @@ window.Echo = (function (window, document, undefined) { var _inView = function (img) { var coords = img.getBoundingClientRect(); - return ((coords.top >= 0 && coords.left >= 0 && coords.top) <= (window.innerHeight || document.documentElement.clientHeight)); + return (coords.top >= 0 && coords.left >= 0 && coords.top) <= (window.innerHeight || document.documentElement.clientHeight); }; var _pollImages = function () { diff --git a/src/echo.js b/src/echo.js index 6d0e78f..55a095d 100644 --- a/src/echo.js +++ b/src/echo.js @@ -6,7 +6,7 @@ window.Echo = (function (window, document, undefined) { var _inView = function (img) { var coords = img.getBoundingClientRect(); - return ((coords.top >= 0 && coords.left >= 0 && coords.top) <= (window.innerHeight || document.documentElement.clientHeight)); + return (coords.top >= 0 && coords.left >= 0 && coords.top) <= (window.innerHeight || document.documentElement.clientHeight); }; var _pollImages = function () {