Skip to content

Commit

Permalink
修正重复ID
Browse files Browse the repository at this point in the history
删除无用JS
  • Loading branch information
Cat7373 committed Nov 17, 2015
1 parent 04a809b commit 2b9d9db
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions launcher/web_ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
XX-Net
</a>
</div> <!-- #logo -->
<div id="logo" class="span1 text-right">
<a id="Quit" href="javascript:void(0);">Quit</a>
<div id="quit" class="span1 text-right">
<a href="javascript:void(0);">Quit</a>
</div> <!-- #Quit -->
<div class="span1 text-right">
<a id="resize-window-trigger" href="javascript:void(0);">
Expand Down Expand Up @@ -89,22 +89,6 @@ <h2 id="title"></h2>
});
</script>
<script type="text/javascript">
var pageRequests = {
'cmd': 'get_config'
};

$.ajax({
type: 'GET',
url: '/config',
data: pageRequests,
dataType: 'JSON',
success: function(result) {
if ( result['show_systray'] == 0 ) {
$('#Quit').removeClass('hide');
}
}
});

$('#Quit').click(function() {
$.ajax({
type: 'GET',
Expand Down

0 comments on commit 2b9d9db

Please sign in to comment.