lib/jschat/http/views/iphone.erb in jschat-0.3.3 vs lib/jschat/http/views/iphone.erb in jschat-0.3.5
- old
+ new
@@ -3,15 +3,16 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>JsChat iPhone</title>
<link rel="icon" href="/favicon.ico" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <meta name="apple-mobile-web-app-capable" content="yes" />
<script src="http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.3/prototype.js" type="text/javascript"></script>
<script src="/javascripts/all.js?<%= Time.now.to_i %>" type="text/javascript"></script>
<link href="/stylesheets/screen.css?<%= Time.now.to_i %>" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/iphone.css?<%= Time.now.to_i %>" media="screen" rel="stylesheet" type="text/css" />
</head>
-<body class="iphone">
+<body class="iphone" onload="setTimeout(function() { window.scrollTo(0, 1); }, 100);">
<div id="loading" style="display: none">Loading...</div>
<div class="header">
<h1><a href="/"><img src="/images/jschat.gif" alt="JsChat" /></a></h1>
<ul id="rooms" class="rooms" style="display: none">
<li class="join"><a href="#">+</a></li>