--- a/includes/clientside/static/enano-lib-basic.js Fri Jul 31 19:15:48 2009 -0400
+++ b/includes/clientside/static/enano-lib-basic.js Mon Aug 03 02:56:03 2009 -0400
@@ -50,14 +50,15 @@
function checkIt(string) {
place = detect.indexOf(string) + 1;
thestring = string;
- return place;
+ return place ? true : false;
}
if (checkIt('msie')) IE = true;
else IE = false;
-var is_Opera = ( checkIt('opera') ) ? true : false;
-var is_iPhone = ( checkIt('iphone') || checkIt('ipod') ) ? true : false;
-var is_firefox2 = ( checkIt('firefox/2.') ) ? true : false;
+var is_Opera = checkIt('opera') ? true : false;
+var is_iPhone = checkIt('iphone') || checkIt('ipod');
+var is_iPhone_3 = checkIt('iphone os 3_');
+var is_firefox2 = checkIt('firefox/2.');
var KILL_SWITCH = false;
--- a/includes/clientside/static/login.js Fri Jul 31 19:15:48 2009 -0400
+++ b/includes/clientside/static/login.js Mon Aug 03 02:56:03 2009 -0400
@@ -98,7 +98,7 @@
* @var bool
*/
-var ajax_login_prevent_dh = IE || is_iPhone;
+var ajax_login_prevent_dh = IE || ( is_iPhone && !is_iPhone_3 );
/**
* Performs the AJAX request to get an encryption key and from there spawns the login form.