mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "UX: Don't try to figure out root domain."
This reverts commit 7690cc6ca5.
This commit is contained in:
@@ -164,7 +164,8 @@ 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) {
|
||||||
host = h('span.domain', domain);
|
const s = domain.split('.');
|
||||||
|
host = h('span.domain', s[s.length-2] + "." + s[s.length-1]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user