mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-25 12:34:47 -04:00
Clean code.
This commit is contained in:
parent
52ca5275b1
commit
448c889e56
1 changed files with 8 additions and 8 deletions
|
@ -115,15 +115,15 @@ modulejs.define('main/info', ['$', 'config'], function ($, config) {
|
||||||
function request(data) {
|
function request(data) {
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: 'server/php/index.php',
|
url: 'server/php/index.php',
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
dataType: 'JSON',
|
dataType: 'JSON',
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
.always(function () {
|
.always(function () {
|
||||||
|
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function onLogin() {
|
function onLogin() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue