mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 06:46:36 +02:00
Clean code.
This commit is contained in:
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user