Skip to content

Commit

Permalink
Add Android 'support'
Browse files Browse the repository at this point in the history
  • Loading branch information
jjthrash committed Feb 1, 2010
1 parent f35a4db commit 21f8352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/javascripts/strings.js
Expand Up @@ -4,7 +4,8 @@ var hist = [];
var startUrl = "data/contents.html";

$(document).ready(function(){
if(navigator.userAgent.toLowerCase().indexOf('iphone') != -1) {
if(navigator.userAgent.toLowerCase().indexOf('iphone') != -1 ||
navigator.userAgent.toLowerCase().indexOf('android') != -1) {
$('a#refresh').click(function() {
window.applicationCache.update();
});
Expand Down

0 comments on commit 21f8352

Please sign in to comment.