|
|
|
@ -23,10 +23,7 @@ app.isFocused = true;
|
|
|
|
|
app.currentRoom = null;
|
|
|
|
|
app.widgets = {};
|
|
|
|
|
app.flags = {};
|
|
|
|
|
|
|
|
|
|
app.onDomReady = function () {
|
|
|
|
|
document.addEventListener('DOMContentLoaded', ajaxify.parseData);
|
|
|
|
|
|
|
|
|
|
$(document).ready(async function () {
|
|
|
|
|
if (app.user.timeagoCode && app.user.timeagoCode !== 'en') {
|
|
|
|
|
await import(/* webpackChunkName: "timeago/[request]" */ 'timeago/locales/jquery.timeago.' + app.user.timeagoCode);
|
|
|
|
@ -35,6 +32,7 @@ app.onDomReady = function () {
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
document.addEventListener('DOMContentLoaded', ajaxify.parseData);
|
|
|
|
|
|
|
|
|
|
(function () {
|
|
|
|
|
let appLoaded = false;
|
|
|
|
|