mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Remove no-js.css, add the styles to admin-header instead
git-svn-id: https://develop.svn.wordpress.org/trunk@10529 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -60,12 +60,15 @@ do_action('admin_head');
|
||||
?>
|
||||
|
||||
<noscript>
|
||||
<?php wp_print_styles('no-js'); ?>
|
||||
<style type="text/css">
|
||||
.hide-if-no-js{display:none}
|
||||
.hide-if-js,.closed .inside{display:block}
|
||||
</style>
|
||||
</noscript>
|
||||
<script type="text/javascript">
|
||||
(function(){
|
||||
var nojs = document.getElementById('no-js');
|
||||
if ( nojs ) nojs.parentNode.removeChild(nojs);
|
||||
var ns = document.getElementsByTagName('noscript');
|
||||
if ( ns && (ns = ns[0]) ) ns.parentNode.removeChild(ns);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user