Make buildRings private.
This commit is contained in:
parent
b8745fa7e3
commit
2da65e94f7
1 changed files with 18 additions and 18 deletions
|
@ -3,7 +3,7 @@ export class UI {
|
|||
|
||||
/* -------------------------------------------------------------------------- buildRings ---- */
|
||||
|
||||
static buildRings(body) {
|
||||
static #buildRings(body) {
|
||||
const rings = $('<span>')
|
||||
const seperator = $('<span>').text(' ) ')
|
||||
rings.appendChild(seperator)
|
||||
|
@ -65,7 +65,7 @@ export class UI {
|
|||
type.appendChild($('<i>').addClass(`flaticon-${body.typeIcon()}`))
|
||||
// rings
|
||||
if (body.Rings !== undefined) {
|
||||
type.appendChild(buildRings(body))
|
||||
type.appendChild(UI.#buildRings(body))
|
||||
}
|
||||
// type
|
||||
const typeName = body.PlanetClass || body.starType || ''
|
||||
|
|
Loading…
Reference in a new issue