mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-05-30 23:15:14 -04:00
Minor changes.
This commit is contained in:
parent
f97a4e490b
commit
1dd6e5c7b0
2 changed files with 10 additions and 15 deletions
|
@ -39,10 +39,16 @@
|
|||
|
||||
} else {
|
||||
|
||||
$.getJSON('.', {action: 'get', options: true, types: true, langs: true, server: true, entries: true}, function (config) {
|
||||
$.ajax({
|
||||
url: '.',
|
||||
data: {action: 'get', options: true, types: true, langs: true, server: true},
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
success: function (config) {
|
||||
|
||||
modulejs.define('config', config);
|
||||
$(function () { modulejs.require('main'); });
|
||||
modulejs.define('config', config);
|
||||
$(function () { modulejs.require('main'); });
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue