nodebb-theme-harmony
Advanced tools
Comparing version 1.2.75 to 1.2.76
{ | ||
"name": "nodebb-theme-harmony", | ||
"version": "1.2.75", | ||
"version": "1.2.76", | ||
"nbbpm": { | ||
@@ -5,0 +5,0 @@ "compatibility": "^3.7.0" |
@@ -263,7 +263,10 @@ 'use strict'; | ||
if (count > 1) { | ||
const placeholder = $(`nav.sidebar [component="${type}/list"]`).children().first(); | ||
for (let x = 0; x < count - 1; x++) { | ||
const cloneEl = placeholder.clone(true); | ||
cloneEl.insertAfter(placeholder); | ||
} | ||
const listEls = $(`.dropdown-menu [component="${type}/list"]`); | ||
listEls.each((index, el) => { | ||
const placeholder = $(el).children().first(); | ||
for (let x = 0; x < count - 1; x++) { | ||
const cloneEl = placeholder.clone(true); | ||
cloneEl.insertAfter(placeholder); | ||
} | ||
}); | ||
} | ||
@@ -270,0 +273,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1335980
526