Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix for android mobile devices

  • Loading branch information...
commit beb65aeccde52d18c58664bb2f4312f22c7ac41d 1 parent 977f705
@daleharvey daleharvey authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 _attachments/focus.js
View
5 _attachments/focus.js
@@ -573,7 +573,8 @@ var Focus = (function () {
$.couch.login({
name : data.rows[1].doc.name,
password : mobilePass,
- success : function () { loadUser(data.rows[1].doc.name); }
+ success : function () {
+ }
});
} else {
router.init();
@@ -647,7 +648,7 @@ var Focus = (function () {
function isMobile() {
return navigator.userAgent.toLowerCase()
- .match(/(andoid|iphone|ipod|ipad)/) !== null;
+ .match(/(android|iphone|ipod|ipad)/) !== null;
};
// I dont like these global events, they are bound to the page permanently
Please sign in to comment.
Something went wrong with that request. Please try again.