Fixed forum

canary
WolverinDEV 2018-12-30 02:03:34 +01:00
parent 032b03f769
commit 460c8a946f
2 changed files with 4 additions and 4 deletions

View File

@ -109,7 +109,7 @@ namespace loader {
let buffer = "";
let _or = " or ";
for(let entry of path)
buffer += _or + formatPath(entry);
buffer += _or + script_name(entry);
return buffer.slice(_or.length);
} else return "<code>" + path + "</code>";
}
@ -134,7 +134,7 @@ namespace loader {
return error;
});
} else {
return new Promise((resolve, reject) => {
return new Promise<void>((resolve, reject) => {
const tag: HTMLScriptElement = document.createElement("script");
const error_handler = (event: ErrorEvent) => {
@ -272,7 +272,7 @@ const loader_javascript = {
loader.register_task(loader.Stage.JAVASCRIPT, {
name: "scripts release",
priority: 20,
function: loadRelease /* fixme */
function: loader_javascript.loadRelease
});
}
},

View File

@ -485,7 +485,7 @@ namespace Modals {
if(selected_type == IdentitifyType.TEAFORO) {
const forum_tag = settings_tag.find(".identity-settings-teaforo");
forum_tag.find(".connected .disconnected").hide();
forum_tag.find(".connected, .disconnected").hide();
if(identity && identity.valid()) {
forum_tag.find(".connected").show();
} else {