Make WordPress Core


Ignore:
Timestamp:
10/06/2011 08:43:01 AM (13 years ago)
Author:
azaozz
Message:

Clean up unused bits from responsive admin, fix the JS on dashboard, see #18863

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r18853 r18900  
    9191</head>
    9292<body class="wp-admin no-js <?php echo apply_filters( 'admin_body_class', '' ) . " $admin_body_class"; ?>">
    93 <script type="text/javascript">
    94 (function(){
    95 var bc = document.body.className, w = bc.match(/folded/) ? 1217 : 1330;
    96 document.body.className = bc.replace(/no-js/, 'js');
    97 if ( document.body.clientWidth > w )
    98     document.body.className += ' wide-window';
    99 })();
    100 </script>
     93<script type="text/javascript">document.body.className = document.body.className.replace('no-js','js');</script>
    10194
    10295<div id="wpwrap">
Note: See TracChangeset for help on using the changeset viewer.