ios-inner-height
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "ios-inner-height", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Retrieve a consistent, accurate `window.innerHeight` measurement from iOS", | ||
@@ -5,0 +5,0 @@ "author": "Tyler Peterson <tylerjpeterson@gmail.com>", |
@@ -6,4 +6,4 @@ 'use strict'; | ||
var rulerInitial = document.getElementById('ruler-initial'); | ||
var rulerLabel = document.getElementById('ruler-label'); | ||
var windowInitial = document.getElementById('win-initial'); | ||
// var rulerLabel = document.getElementById('ruler-label'); | ||
// var windowInitial = document.getElementById('win-initial'); | ||
var windowLabel = document.getElementById('win-label'); | ||
@@ -13,3 +13,4 @@ | ||
rulerInitial.textContent = vph() + 'px'; | ||
windowInitial.textContent = window.innerHeight + 'px'; | ||
// windowLabel.textContent = window.innerHeight + 'px'; | ||
// windowInitial.textContent = window.innerHeight + 'px'; | ||
update(); | ||
@@ -19,3 +20,3 @@ }; | ||
var update = function () { | ||
rulerLabel.textContent = vph() + 'px'; | ||
// rulerLabel.textContent = vph() + 'px'; | ||
windowLabel.textContent = window.innerHeight + 'px'; | ||
@@ -22,0 +23,0 @@ }; |
Sorry, the diff of this file is not supported yet
10719
203