mirror of
				https://github.com/mashirozx/sakura.git
				synced 2025-05-29 01:49:21 +08:00 
			
		
		
		
	fix
This commit is contained in:
		
							parent
							
								
									509fa9175a
								
							
						
					
					
						commit
						9ea5957286
					
				| @ -177,7 +177,7 @@ function sakura_scripts() { | |||||||
|     wp_enqueue_style( 'saukra_css', get_stylesheet_uri(), array(), SAKURA_VERSION ); |     wp_enqueue_style( 'saukra_css', get_stylesheet_uri(), array(), SAKURA_VERSION ); | ||||||
|     // If you do not like the CDN, uncomment this line, and comment the next line
 |     // If you do not like the CDN, uncomment this line, and comment the next line
 | ||||||
|     //wp_enqueue_script( 'app', get_template_directory_uri() . '/js/sakura-app.js', array(), SAKURA_VERSION, true );
 |     //wp_enqueue_script( 'app', get_template_directory_uri() . '/js/sakura-app.js', array(), SAKURA_VERSION, true );
 | ||||||
| 	wp_enqueue_script( 'app', 'https://cdn.jsdelivr.net/gh/moezx/cdn@3.3.1/js/other/sakura-app.js', array(), SAKURA_VERSION, true ); | 	wp_enqueue_script( 'app', 'https://cdn.jsdelivr.net/gh/moezx/cdn@latest/js/other/sakura-app.js', array(), SAKURA_VERSION, true ); | ||||||
| 	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { | 	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { | ||||||
| 		wp_enqueue_script( 'comment-reply' ); | 		wp_enqueue_script( 'comment-reply' ); | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user