浏览代码

Spearhead: Use the Seedlet scripts for IE11 fixes

Ben Dwyer 4 年之前
父节点
当前提交
40581b9ef5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      seedlet/functions.php

+ 2 - 2
seedlet/functions.php

@@ -385,10 +385,10 @@ function seedlet_scripts() {
 	global $is_IE;
 	if ( $is_IE ) {
 		// 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() . '/assets/js/css-vars-ponyfill2.js' );
 		wp_enqueue_script(
 			'ie11-fix',
-			get_stylesheet_directory_uri() . '/assets/js/ie11-fix.js',
+			get_template_directory_uri() . '/assets/js/ie11-fix.js',
 			array( 'css-vars-ponyfill' ),
 			'1.0'
 		);