mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-28 09:31:17 +01:00
fix: #11786 fix selector for upgradable plugins
This commit is contained in:
@@ -342,7 +342,7 @@ define('admin/extend/plugins', [
|
|||||||
|
|
||||||
function populateUpgradeablePlugins() {
|
function populateUpgradeablePlugins() {
|
||||||
$('#installed ul li').each(function () {
|
$('#installed ul li').each(function () {
|
||||||
if ($(this).children('[data-action="upgrade"]').length) {
|
if ($(this).find('[data-action="upgrade"]').length) {
|
||||||
$('#upgrade ul').append($(this).clone(true));
|
$('#upgrade ul').append($(this).clone(true));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user