Files
plugins/DbManager/dbmanager-js.php
chorblack e75f275ef4
Some checks failed
定时更新GitHub源插件 / 自动更新GitHub插件 (push) Has been cancelled
Initial commit
2026-03-07 11:19:25 +08:00

20 lines
514 B
PHP

<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<script>
$(document).ready(function () {
$('#dbmanager-plugin .typecho-option-tabs li').click(function() {
var tabBox = $('#dbmanager-plugin > div');
$(this).siblings('li')
.removeClass('active').end()
.addClass('active');
tabBox.siblings('div')
.addClass('hidden').end()
.eq($(this).index()).removeClass('hidden');
console.log($(this).index());
return false;
});
});
</script>