mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
Revert "UX: Don't try to figure out root domain."
This reverts commit 7690cc6ca50d48c86449dd9c7bf16301aa31ebc4.
This commit is contained in:
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user