Keep the menu closed while loading

git-svn-id: https://develop.svn.wordpress.org/trunk@10140 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2008-12-09 12:00:44 +00:00
parent f7c88ef2c7
commit 8f3589af72
5 changed files with 33 additions and 34 deletions

View File

@@ -108,6 +108,10 @@ if ( function_exists('mb_strlen') ) {
</div>
</div>
<?php if ( get_user_setting('mfold') == 'f' ) { ?>
<script type="text/javascript">jQuery('#wpcontent').addClass('folded');</script>
<?php } ?>
<div id="wpbody">
<?php require(ABSPATH . 'wp-admin/menu-header.php'); ?>