This commit is contained in:
Mirco Wittrien 2020-09-19 23:10:13 +02:00
parent c8b56ad52e
commit 5f47832885
2 changed files with 14 additions and 14 deletions

View File

@ -1096,7 +1096,7 @@ module.exports = (_ => {
for (let word of text.split(" ")) { for (let word of text.split(" ")) {
let encodedWord = BDFDB.StringUtils.htmlEscape(word); let encodedWord = BDFDB.StringUtils.htmlEscape(word);
link.href = word; link.href = word;
newText.push(link.host && link.host !== window.location.host ? `<label class="${BDFDB.disCN.textlink}">${encodedWord}</label>` : encodedWord); newText.push(link.host && link.host !== window.location.host ? `<label class="${BDFDB.disCN.noticetextlink}">${encodedWord}</label>` : encodedWord);
} }
noticeMessage.innerHTML = newText.join(" "); noticeMessage.innerHTML = newText.join(" ");
} }

View File

@ -818,6 +818,7 @@
"NitroStore": {"props": ["applicationStore", "marketingHeader"]}, "NitroStore": {"props": ["applicationStore", "marketingHeader"]},
"NoteTextarea": {"props": ["textarea"], "length": 1}, "NoteTextarea": {"props": ["textarea"], "length": 1},
"Notice": {"props": ["notice", "platformIcon"]}, "Notice": {"props": ["notice", "platformIcon"]},
"NoticePlatform": {"props": ["iconAndroid", "textLink"]},
"PeopleItem": {"props": ["peopleListItem", "active"]}, "PeopleItem": {"props": ["peopleListItem", "active"]},
"PeopleItemInfo": {"props": ["listItemContents", "actions"], "length": 2}, "PeopleItemInfo": {"props": ["listItemContents", "actions"], "length": 2},
"Peoples": {"props": ["peopleColumn", "tabBar"]}, "Peoples": {"props": ["peopleColumn", "tabBar"]},
@ -1605,8 +1606,6 @@
"h5defaultmargin": ["Text", "defaultMarginh5"], "h5defaultmargin": ["Text", "defaultMarginh5"],
"headertitle": ["Text", "title"], "headertitle": ["Text", "title"],
"height12": ["UserPopout", "height12"], "height12": ["UserPopout", "height12"],
"height16": ["File", "height16"],
"height36": ["Notice", "height36"],
"highlight": ["NotFound", "highlight"], "highlight": ["NotFound", "highlight"],
"homebuttonicon": ["HomeIcon", "homeIcon"], "homebuttonicon": ["HomeIcon", "homeIcon"],
"homebuttonpill": ["HomeIcon", "pill"], "homebuttonpill": ["HomeIcon", "pill"],
@ -2000,29 +1999,31 @@
"notice": ["Notice", "notice"], "notice": ["Notice", "notice"],
"noticebrand": ["Notice", "noticeBrand"], "noticebrand": ["Notice", "noticeBrand"],
"noticebutton": ["Notice", "button"], "noticebutton": ["Notice", "button"],
"noticecustom": ["Notice", "colorCustom"],
"noticedanger": ["Notice", "noticeDanger"], "noticedanger": ["Notice", "noticeDanger"],
"noticedark": ["Notice", "colorDark"],
"noticedefault": ["Notice", "noticeDefault"], "noticedefault": ["Notice", "noticeDefault"],
"noticedownload": ["Notice", "noticeDownload"], "noticedownload": ["Notice", "noticeDownload"],
"noticedismiss": ["Notice", "dismiss"], "noticedismiss": ["Notice", "dismiss"],
"noticefacebook": ["Notice", "noticeFacebook"], "noticeicon": ["NoticePlatform", "icon"],
"noticeicon": ["Notice", "icon"], "noticeiconandroid": ["NoticePlatform", "iconAndroid"],
"noticeiconandroid": ["Notice", "iconAndroid"], "noticeiconapple": ["NoticePlatform", "iconApple"],
"noticeiconapple": ["Notice", "iconApple"], "noticeiconwindows": ["NoticePlatform", "iconWindows"],
"noticeiconwindows": ["Notice", "iconWindows"],
"noticeinfo": ["Notice", "noticeInfo"], "noticeinfo": ["Notice", "noticeInfo"],
"noticeneutral": ["Notice", "colorNeutral"],
"noticenotification": ["Notice", "noticeNotification"], "noticenotification": ["Notice", "noticeNotification"],
"noticeplatformicon": ["Notice", "platformIcon"], "noticeplatformicon": ["Notice", "platformIcon"],
"noticepremium": ["Notice", "noticePremium"], "noticepremium": ["Notice", "noticePremium"],
"noticepremiumaction": ["Notice", "premiumAction"], "noticepremiumaction": ["NoticePlatform", "premiumAction"],
"noticepremiumlogo": ["Notice", "premiumLogo"], "noticepremiumicon": ["NoticePlatform", "premiumIcon"],
"noticepremiumtext": ["Notice", "premiumText"], "noticepremiumlogo": ["NoticePlatform", "premiumLogo"],
"noticepremiumtext": ["NoticePlatform", "premiumText"],
"noticepremiumtier1": ["Notice", "noticePremiumTier1"], "noticepremiumtier1": ["Notice", "noticePremiumTier1"],
"noticepremiumtier2": ["Notice", "noticePremiumTier2"], "noticepremiumtier2": ["Notice", "noticePremiumTier2"],
"noticerichpresence": ["Notice", "noticeRichPresence"],
"noticespotify": ["Notice", "noticeSpotify"], "noticespotify": ["Notice", "noticeSpotify"],
"noticestreamer": ["Notice", "noticeStreamerMode"], "noticestreamer": ["Notice", "noticeStreamerMode"],
"noticesuccess": ["Notice", "noticeSuccess"], "noticesuccess": ["Notice", "noticeSuccess"],
"noticesurvey": ["Notice", "noticeSurvey"], "noticetextlink": ["NoticePlatform", "textLink"],
"noticewrapper": ["BDFDB", "noticeWrapper"], "noticewrapper": ["BDFDB", "noticeWrapper"],
"note": ["SettingsItems", "note"], "note": ["SettingsItems", "note"],
"nowrap": ["Flex", "noWrap"], "nowrap": ["Flex", "noWrap"],
@ -2299,7 +2300,6 @@
"textareawrapall": ["ChannelTextArea", "channelTextArea"], "textareawrapall": ["ChannelTextArea", "channelTextArea"],
"textareawrapchat": ["ChatWindow", "channelTextArea"], "textareawrapchat": ["ChatWindow", "channelTextArea"],
"textareawrapdisabled": ["ChannelTextArea", "channelTextAreaDisabled"], "textareawrapdisabled": ["ChannelTextArea", "channelTextAreaDisabled"],
"textlink": ["Notice", "textLink"],
"textrow": ["PopoutActivity", "textRow"], "textrow": ["PopoutActivity", "textRow"],
"textscroller": ["BDFDB", "textScroller"], "textscroller": ["BDFDB", "textScroller"],
"themedark": ["NotFound", "themeDark"], "themedark": ["NotFound", "themeDark"],