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:
parent
691c8eea79
commit
09b7fb1296
|
@ -61,10 +61,7 @@ do_action('admin_head');
|
||||||
wp_print_styles('no-js');
|
wp_print_styles('no-js');
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function(){
|
document.getElementById('no-js').href = 'javascript("void");';
|
||||||
var nojs = document.getElementById('no-js');
|
|
||||||
nojs.parentNode.removeChild(nojs);
|
|
||||||
})();
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php if ( $is_iphone ) { ?>
|
<?php if ( $is_iphone ) { ?>
|
||||||
|
|
Loading…
Reference in New Issue