This commit is contained in:
Brad Fitzpatrick 2014-02-08 16:43:26 -08:00
commit 16ca0c78ad
1 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,8 @@ limitations under the License.
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=0.75">
<link rel="shortcut icon" sizes="16x16" href="safe1-16.png">
<link rel="shortcut icon" sizes="32x32" href="safe1-32.png">
<link rel="apple-touch-icon" sizes="16x16" href="safe1-16.png">
@ -50,7 +52,7 @@ limitations under the License.
var lastWidth = -1;
var lastHeight = -1;
var render = function() {
var currentWidth = window.outerWidth;
var currentWidth = window.innerWidth;
var currentHeight = window.innerHeight;
if (currentWidth == lastWidth && currentHeight == lastHeight) {
return;