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:
parent
b297e484a4
commit
ec225667ea
|
@ -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 ) { ?>
|
||||
|
|
Loading…
Reference in New Issue