Remove no-js.css faster in Safari

git-svn-id: http://svn.automattic.com/wordpress/trunk@10489 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-02-03 22:36:12 +00:00
parent 691c8eea79
commit 09b7fb1296
1 changed files with 1 additions and 4 deletions

View File

@ -61,10 +61,7 @@ do_action('admin_head');
wp_print_styles('no-js');
?>
<script type="text/javascript">
(function(){
var nojs = document.getElementById('no-js');
nojs.parentNode.removeChild(nojs);
})();
document.getElementById('no-js').href = 'javascript("void");';
</script>
<?php if ( $is_iphone ) { ?>