Avoid wiki substring hack

This commit is contained in:
shinigami-eyes 2019-10-06 11:22:09 +02:00
parent bf8f002b86
commit b9e49bfdd2

View File

@ -29,7 +29,7 @@ function fixupSiteStyles() {
.assigned-label-transphobic { outline: 2px solid var(--ShinigamiEyesTransphobic) !important; }
.assigned-label-t-friendly { outline: 1px solid var(--ShinigamiEyesTFriendly) !important; }
`);
} else if (hostname.indexOf('wiki') != -1) {
} else if (hostname == 'rationalwiki.org' || hostname.endsWith('wikipedia.org')) {
addStyleSheet(`
.assigned-label-transphobic { outline: 1px solid var(--ShinigamiEyesTransphobic) !important; }
.assigned-label-t-friendly { outline: 1px solid var(--ShinigamiEyesTFriendly) !important; }