mirror of
https://ghproxy.net/https://github.com/AlxMedia/curver.git
synced 2025-08-28 06:37:49 +08:00
Remove duplicate code
This commit is contained in:
parent
6992887a80
commit
639de93f5a
1 changed files with 0 additions and 12 deletions
|
@ -633,18 +633,6 @@ if ( ! function_exists( 'curver_html_js_class' ) ) {
|
||||||
add_action( 'wp_head', 'curver_html_js_class', 1 );
|
add_action( 'wp_head', 'curver_html_js_class', 1 );
|
||||||
|
|
||||||
|
|
||||||
/* Script for no-js / js class
|
|
||||||
/* ------------------------------------ */
|
|
||||||
if ( ! function_exists( 'curver_html_js_class' ) ) {
|
|
||||||
|
|
||||||
function curver_html_js_class () {
|
|
||||||
echo '<script>document.documentElement.className = document.documentElement.className.replace("no-js","js");</script>'. "\n";
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
add_action( 'wp_head', 'curver_html_js_class', 1 );
|
|
||||||
|
|
||||||
|
|
||||||
/* Admin panel css
|
/* Admin panel css
|
||||||
/* ------------------------------------ */
|
/* ------------------------------------ */
|
||||||
if ( ! function_exists( 'curver_admin_panel_css' ) ) {
|
if ( ! function_exists( 'curver_admin_panel_css' ) ) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue