Merge pull request #34 from znc15/master

修复一些问题
This commit is contained in:
Akkariin Meiko 2024-02-09 00:09:00 +08:00 committed by GitHub
commit 89fd342402
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -122,14 +122,15 @@ $ss = Database::toArray(Database::search("nodes", Array("group" => "{$rs['group'
</div> </div>
<script type="text/javascript" src="assets/configuration/prettify.js"></script> <script type="text/javascript" src="assets/configuration/prettify.js"></script>
<script type="text/javascript"> <script type="text/javascript">
prettyPrint(); prettyPrint();
<script type="text/javascript"> </script>
prettyPrint(); <script type="text/javascript">
window.onload = function() { prettyPrint();
$('#server').change(function() { window.onload = function() {
if($(this).children('option:selected').val() != ''){ $('#server').change(function() {
location = "/?page=panel&module=configuration&server=" + $(this).children('option:selected').val(); if ($(this).children('option:selected').val() !== '') {
} location = "/?page=panel&module=configuration&server=" + $(this).children('option:selected').val();
}); }
} });
}
</script> </script>