Explorar o código

fixed ponyfill routes

Maggie Cabrera %!s(int64=4) %!d(string=hai) anos
pai
achega
eab6fe30c8
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      varia/functions.php

+ 2 - 2
varia/functions.php

@@ -262,9 +262,9 @@ function varia_scripts() {
 	global $is_IE;
 	global $is_IE;
 	if ( $is_IE ) {
 	if ( $is_IE ) {
 		// If IE 11 or below, use a ponyfill to add CSS Variable support
 		// If IE 11 or below, use a ponyfill to add CSS Variable support
-		wp_register_script( 'css-vars-ponyfill', get_stylesheet_directory_uri() . '/assets/js/css-vars-ponyfill2.js' );
+		wp_register_script( 'css-vars-ponyfill', get_template_directory_uri() . '/js/css-vars-ponyfill2.js' );
 		wp_enqueue_script( 'ie11-fix',
 		wp_enqueue_script( 'ie11-fix',
-			get_stylesheet_directory_uri() . '/assets/js/ie11-fix.js',
+			get_template_directory_uri() . '/js/ie11-fix.js',
 			array( 'css-vars-ponyfill' ),
 			array( 'css-vars-ponyfill' ),
 			'1.0'
 			'1.0'
 		);
 		);