mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-16 18:20:23 +02:00
test: jquery ready
This commit is contained in:
@@ -24,7 +24,8 @@ app.currentRoom = null;
|
||||
app.widgets = {};
|
||||
app.flags = {};
|
||||
|
||||
window.addEventListener('DOMContentLoaded', async function () {
|
||||
$(document).ready(async function () {
|
||||
// window.addEventListener('DOMContentLoaded', async function () {
|
||||
if (app.user.timeagoCode && app.user.timeagoCode !== 'en') {
|
||||
await import(/* webpackChunkName: "timeago/[request]" */ 'timeago/locales/jquery.timeago.' + app.user.timeagoCode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user