Fixes for Mobile Safari

This commit is contained in:
Eric Fredricksen committed 2010-07-12 23:00:39 -07:00
1 parent f2b4138e1c
commit 2c7b4593de
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -203,7 +203,7 @@ function storeRoster(roster) {
return true; return true;
} catch (err) { } catch (err) {
if (err.toString().indexOf("QUOTA_EXCEEDED_ERR") != -1) { if (err.toString().indexOf("QUOTA_EXCEEDED_ERR") != -1) {
alert("The limited storage available on this device has been filled. This game can lo longer be saved.") alert("This browser lacks storage capacity to save this game. This game can continue but cannot be saved. (Mobile Safari, I'll wager?)")
storage = null;; storage = null;;
return false; return false;
} }
+1 -1
View File
@@ -971,7 +971,7 @@ function Cheats() {
function cheat(label, effect) { function cheat(label, effect) {
$("<button/>", { $("<button/>", {
class: "cheater", "class": "cheater",
text: label, text: label,
click: effect}).appendTo('body'); click: effect}).appendTo('body');
} }