includes/clientside/static/login.js
changeset 509 175df10e0b56
parent 478 376a01d8386d
child 532 03429d7b1537
--- a/includes/clientside/static/login.js	Tue Mar 18 16:56:56 2008 -0400
+++ b/includes/clientside/static/login.js	Wed Mar 26 02:56:23 2008 -0400
@@ -510,7 +510,7 @@
   form.appendChild(table);
   
   // Field: enable Diffie Hellman
-  if ( IE )
+  if ( IE || is_iPhone )
   {
     var lbl_dh = document.createElement('span');
     lbl_dh.style.fontSize = 'smaller';
@@ -644,9 +644,9 @@
   }
   else
   {
-    if ( IE )
+    if ( IE || is_iPhone )
     {
-      // IE doesn't have this control, continue silently IF the rest
+      // IE/MobileSafari doesn't have this control, continue silently IF the rest
       // of the login form is there
       if ( !document.getElementById('ajax_login_field_username') )
       {