From 0c13e547fc31ab7c2ac6c7e85888a201d97b412a Mon Sep 17 00:00:00 2001 From: Misty Release Bot Date: Tue, 22 Aug 2023 23:15:00 +0000 Subject: [PATCH 1/3] chore: incrementing version number - v3.3.6 --- install/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/package.json b/install/package.json index 311be0891d..b9af985664 100644 --- a/install/package.json +++ b/install/package.json @@ -2,7 +2,7 @@ "name": "nodebb", "license": "GPL-3.0", "description": "NodeBB Forum", - "version": "3.3.5", + "version": "3.3.6", "homepage": "https://www.nodebb.org", "repository": { "type": "git", From a43354c053100a9d0311d5ecc52569c91a16a4a2 Mon Sep 17 00:00:00 2001 From: Misty Release Bot Date: Tue, 22 Aug 2023 23:15:00 +0000 Subject: [PATCH 2/3] chore: update changelog for v3.3.6 --- CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 712773e010..adbf0fbc2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +#### v3.3.6 (2023-08-22) + +##### Chores + +* up deps (db55f18a) +* incrementing version number - v3.3.4 (a67f84ea) +* incrementing version number - v3.3.3 (f94d239b) +* incrementing version number - v3.3.2 (ec9dac97) +* incrementing version number - v3.3.1 (151cc68f) +* incrementing version number - v3.3.0 (fc1ad70f) +* incrementing version number - v3.2.3 (b06d3e63) +* incrementing version number - v3.2.2 (758ecfcd) +* incrementing version number - v3.2.1 (20145074) +* incrementing version number - v3.2.0 (9ecac38e) +* incrementing version number - v3.1.7 (0b4e81ab) +* incrementing version number - v3.1.6 (b3a3b130) +* incrementing version number - v3.1.5 (ec19343a) +* incrementing version number - v3.1.4 (2452783c) +* incrementing version number - v3.1.3 (3b4e9d3f) +* incrementing version number - v3.1.2 (40fa3489) +* incrementing version number - v3.1.1 (40250733) +* incrementing version number - v3.1.0 (0cb386bd) +* incrementing version number - v3.0.1 (26f6ea49) +* incrementing version number - v3.0.0 (224e08cd) + #### v3.3.4 (2023-08-20) ##### Chores From 438c4c897688d6c1aca6a1c0320ad4837ba99db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 23 Aug 2023 01:15:56 -0400 Subject: [PATCH 3/3] fix: closes #11945, fix skins loading if there are no custom skins --- public/src/admin/appearance/skins.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/public/src/admin/appearance/skins.js b/public/src/admin/appearance/skins.js index 04b2676615..6e1d7d892e 100644 --- a/public/src/admin/appearance/skins.js +++ b/public/src/admin/appearance/skins.js @@ -18,10 +18,11 @@ define('admin/appearance/skins', [ $('.custom-skin-settings [data-type="list"] [data-theme]').each((i, el) => { $(el).attr('data-theme', $(el).attr('data-theme').toLowerCase()); }); - Skins.render(bsData); + highlightSelectedTheme(app.config.bootswatchSkin); } }); settings.load('custom-skins', $('.custom-skin-settings')); + Skins.render(bsData); }); $('#save-custom-skins').on('click', function () { @@ -89,10 +90,7 @@ define('admin/appearance/skins', [ }, function (html) { themeContainer.html(html); - if (app.config.bootswatchSkin) { - const skin = app.config.bootswatchSkin; - highlightSelectedTheme(skin); - } + highlightSelectedTheme(app.config.bootswatchSkin); }); };