mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-03 11:01:20 +01:00
fix: bump themes, l10n world sort label
This commit is contained in:
@@ -107,10 +107,10 @@
|
||||
"nodebb-plugin-spam-be-gone": "2.3.2",
|
||||
"nodebb-plugin-web-push": "0.7.6",
|
||||
"nodebb-rewards-essentials": "1.0.2",
|
||||
"nodebb-theme-harmony": "2.2.6",
|
||||
"nodebb-theme-harmony": "2.2.7",
|
||||
"nodebb-theme-lavender": "7.1.19",
|
||||
"nodebb-theme-peace": "2.2.49",
|
||||
"nodebb-theme-persona": "14.2.0",
|
||||
"nodebb-theme-persona": "14.2.1",
|
||||
"nodebb-widget-essentials": "7.0.42",
|
||||
"nodemailer": "8.0.1",
|
||||
"nprogress": "0.2.0",
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
{
|
||||
"name": "World",
|
||||
"latest": "Latest",
|
||||
"popular": "Popular",
|
||||
"popular-day": "Popular (Day)",
|
||||
"popular-week": "Popular (Week)",
|
||||
"popular-month": "Popular (Month)",
|
||||
"popular-year": "Popular (Year)",
|
||||
"popular-alltime": "Popular (All Time)",
|
||||
"recent": "All",
|
||||
"help": "Help",
|
||||
|
||||
|
||||
@@ -19,6 +19,14 @@ define('forum/world', [
|
||||
handleButtons();
|
||||
handleHelp();
|
||||
|
||||
// Add label to sort
|
||||
const sortLabelEl = document.getElementById('sort-label');
|
||||
const sortOptionsEl = document.getElementById('sort-options');
|
||||
if (sortLabelEl && sortOptionsEl) {
|
||||
const match = sortOptionsEl.querySelector(`a[href="${window.location.pathname}${window.location.search}`);
|
||||
sortLabelEl.innerText = match.innerText;
|
||||
}
|
||||
|
||||
search.enableQuickSearch({
|
||||
searchElements: {
|
||||
inputEl: $('[component="category-search"]'),
|
||||
|
||||
Reference in New Issue
Block a user