mirror of
https://github.com/mashirozx/sakura.git
synced 2024-12-12 09:54:35 +08:00
fix some little bug
This commit is contained in:
parent
cdd13c4784
commit
47d5abc8d0
@ -175,9 +175,7 @@ function sakura_scripts() {
|
||||
wp_enqueue_script( 'js_lab', 'https://cdn.jsdelivr.net/gh/moezx/cdn@' . akina_option('jsdelivr_cdn_version', 'latest') . '/js/lib.min.js', array(), SAKURA_VERSION, true );
|
||||
}
|
||||
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
|
||||
//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.4.5/js/other/sakura-app.js', array(), SAKURA_VERSION, true );
|
||||
wp_enqueue_script( 'app', get_template_directory_uri() . '/js/sakura-app.js', array(), SAKURA_VERSION, true );
|
||||
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
|
||||
wp_enqueue_script( 'comment-reply' );
|
||||
}
|
||||
|
14
header.php
14
header.php
@ -11,6 +11,20 @@
|
||||
?>
|
||||
<?php header('X-Frame-Options: SAMEORIGIN'); ?>
|
||||
<!DOCTYPE html>
|
||||
<!--
|
||||
Theme by Mashiro
|
||||
/^--^\ /^--^\ /^--^\
|
||||
\____/ \____/ \____/
|
||||
/ \ / \ / \
|
||||
| | | | | |
|
||||
\__ __/ \__ __/ \__ __/
|
||||
|^|^|^|^|^|^|^|^|^|^|^|^\ \^|^|^|^/ /^|^|^|^|^\ \^|^|^|^|^|^|^|^|^|^|^|^|
|
||||
| | | | | | | | | | | | |\ \| | |/ /| | | | | | \ \ | | | | | | | | | | |
|
||||
########################/ /######\ \###########/ /#######################
|
||||
| | | | | | | | | | | | \/| | | | \/| | | | | |\/ | | | | | | | | | | | |
|
||||
|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|
|
||||
|
||||
-->
|
||||
<html <?php language_attributes(); ?>>
|
||||
<head>
|
||||
<meta charset="<?php bloginfo( 'charset' ); ?>">
|
||||
|
@ -397,7 +397,7 @@ function nextBG() {
|
||||
|
||||
function preBG() {
|
||||
bgn = bgn - 1;
|
||||
$(".centerbg").css("background-image", "url(https://api.shino.cc/cover/?" + bgn + ")");
|
||||
$(".centerbg").css("background-image", "url(" + mashiro_option.cover_api + "?" + bgn + ")");
|
||||
}
|
||||
$(document).ready(function () {
|
||||
$("#bg-next").click(function () {
|
||||
|
Loading…
Reference in New Issue
Block a user