Guo Xiang Tan 2017-07-24 10:14:33 +09:00
parent 1797994a63
commit 62afa41f83

View File

@ -160,7 +160,8 @@ createWidget('topic-map-expanded', {
const domain = l.domain;
if (domain && domain.length) {
const s = domain.split('.');
host = h('span.domain', s[s.length-2] + "." + s[s.length-1]);
if (s[0] === 'www') s.shift();
host = h('span.domain', s.join('.'));
}
}