Remove no-js.css faster in Safari

git-svn-id: https://develop.svn.wordpress.org/trunk@10489 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-02-03 22:36:12 +00:00
parent b297e484a4
commit ec225667ea
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 ) { ?>