1
0
Fork 0
mirror of https://github.com/yunluo/gdk.git synced 2024-04-24 19:11:02 +02:00

还是优化代码

This commit is contained in:
云落 2021-10-07 23:25:32 +08:00
parent 06a1503f02
commit 503395f7d7
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View file

@ -4,4 +4,4 @@ cache/*.txt
*.ini
.vscode/*
.SynologyWorkingDirectory/*
*/cache/*
*/cache/*

View file

@ -64,7 +64,7 @@ jQuery(function($) {
}
});
$(".add-shortcode").click(function() {
send_to_editor("" + $(this).data("shortcodes") + "");
send_to_editor( $(this).data("shortcodes") );
$(".shortcodes-wrap").removeClass("is-active");
return false
});

View file

@ -71,7 +71,7 @@ $activePanelIdx = $_GET['panel'] ?? 0;
echo '<li><a href="#panel_' . $i . '" data-panel="' . $i . '" ' . ($i == $activePanelIdx ? 'class="current"' : '') . '>' . $name . '</a></li>';
}
?>
<li><a href="#panel_about" data-panel="about" class="about">关于插件</a></li>
<li><a href="#panel_about" data-panel="about" class="about">关于</a></li>
</ul>
<div class="search-form"><label class="screen-reader-text" for="wp-filter-search-input">筛选插件选项…</label><input placeholder="筛选插件选项…" type="search" id="wp-filter-search-input" class="wp-filter-search"></div>
</div>