WordPress 4.1.2-scripts
[autoinstalls/wordpress.git] / wp-admin / setup-config.php
index c6f98f1ffc601e4dc135b14e876fd3f4a2d7f9d6..5f71f53e6749877e87b5b14655f7767b6595ae37 100644 (file)
@@ -308,9 +308,11 @@ switch($step) {
 <p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the install' ); ?></a></p>
 <script>
 (function(){
-var el=document.getElementById('wp-config');
-el.focus();
-el.select();
+if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) {
+       var el = document.getElementById('wp-config');
+       el.focus();
+       el.select();
+}
 })();
 </script>
 <?php