FIX: iOS height was incorrect when zoomed for cloaking

This commit is contained in:
Robin Ward 2013-12-23 16:18:00 -05:00
parent 4c93da01c3
commit 62f757da2c

View File

@ -91,7 +91,7 @@
var toUncloak = [],
$w = $(window),
windowHeight = $w.height(),
windowHeight = window.innerHeight ? window.innerHeight : $w.height(),
windowTop = $w.scrollTop(),
slack = Math.round(windowHeight * this.get('slackRatio')),
viewportTop = windowTop - slack,