From 48e7da3da4d879b7ee6c2f87ea2d975b0d069538 Mon Sep 17 00:00:00 2001 From: Kait Todesk Date: Fri, 7 Nov 2014 13:25:22 +0200 Subject: [PATCH] Removes Ender specific document size detection --- ender.overlay.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ender.overlay.js b/ender.overlay.js index ad27ed9..1ebecef 100644 --- a/ender.overlay.js +++ b/ender.overlay.js @@ -243,12 +243,7 @@ }, getDocSize: function () { - if (window.ender) { // ender - return { - width: $.doc().width, - height: $.doc().height - }; - } else if (window.Zepto) { + if (window.Zepto) { // zepto caches the document height.. var doc = window.document, html = doc.documentElement,