UX: Don't try to figure out root domain.
This commit is contained in:
parent
04edbea693
commit
7690cc6ca5
|
@ -159,8 +159,7 @@ createWidget('topic-map-expanded', {
|
||||||
if (l.title && l.title.length) {
|
if (l.title && l.title.length) {
|
||||||
const domain = l.domain;
|
const domain = l.domain;
|
||||||
if (domain && domain.length) {
|
if (domain && domain.length) {
|
||||||
const s = domain.split('.');
|
host = h('span.domain', domain);
|
||||||
host = h('span.domain', s[s.length-2] + "." + s[s.length-1]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue