WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/14/2014 12:10:05 AM (6 years ago)
Author:
azaozz
Message:

iOS: do not autofocus the readonly textarea with the code for wp-config.php in setup-config.php.
See #30703.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/setup-config.php

    r29705 r30843  
    309309<script>
    310310(function(){
    311 var el=document.getElementById('wp-config');
    312 el.focus();
    313 el.select();
     311if ( ! /iPad|iPod|iPhone/.test( navigator.userAgent ) ) {
     312    var el = document.getElementById('wp-config');
     313    el.focus();
     314    el.select();
     315}
    314316})();
    315317</script>
Note: See TracChangeset for help on using the changeset viewer.