mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
removed callback
This commit is contained in:
@@ -8,7 +8,7 @@ var socket,
|
|||||||
(function() {
|
(function() {
|
||||||
RELATIVE_PATH = $('#relative_path').val();
|
RELATIVE_PATH = $('#relative_path').val();
|
||||||
|
|
||||||
function loadConfig(callback) {
|
function loadConfig() {
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: RELATIVE_PATH + '/config.json?v=' + new Date().getTime(),
|
url: RELATIVE_PATH + '/config.json?v=' + new Date().getTime(),
|
||||||
@@ -232,14 +232,9 @@ var socket,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
jQuery('document').ready(function() {
|
jQuery('document').ready(function() {
|
||||||
|
|
||||||
loadConfig(function () {});
|
loadConfig();
|
||||||
|
|
||||||
app.enter_room('global');
|
app.enter_room('global');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user