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