This commit is contained in:
Mirco Wittrien 2020-07-06 11:00:10 +02:00
parent 80e0ac4fbf
commit ba30a91254
3 changed files with 5 additions and 3 deletions

View File

@ -4339,6 +4339,7 @@
DiscordClassModules.Flex = BDFDB.ModuleUtils.findByProperties("alignBaseline", "alignCenter");
DiscordClassModules.FlexChild = BDFDB.ModuleUtils.findByProperties("flexChild", "flex");
DiscordClassModules.FlowerStar = BDFDB.ModuleUtils.findByProperties("flowerStarContainer", "flowerStar");
DiscordClassModules.Focusable = BDFDB.ModuleUtils.findByProperties("focusable");
DiscordClassModules.FormText = BDFDB.ModuleUtils.findByProperties("description", "modeDefault");
DiscordClassModules.Game = BDFDB.ModuleUtils.findByProperties("game", "gameName");
DiscordClassModules.GameIcon = BDFDB.ModuleUtils.findByProperties("gameIcon", "small", "xsmall");
@ -5016,6 +5017,7 @@
flowerstar: ["FlowerStar", "flowerStar"],
flowerstarchild: ["FlowerStar", "childContainer"],
flowerstarcontainer: ["FlowerStar", "flowerStarContainer"],
focusable: ["Focusable", "focusable"],
formtext: ["FormText", "formText"],
game: ["Game", "game"],
gameicon: ["GameIcon", "gameIcon"],

File diff suppressed because one or more lines are too long

View File

@ -134,7 +134,7 @@ var BetterSearchPage = (_ => {
"aria-label": BDFDB.LanguageUtils.LibraryStrings.first,
onClick: _ => {if (currentPage != 1) doJump(1);},
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.searchresultspaginationbutton, currentPage == 1 && BDFDB.disCN.searchresultspaginationdisabled),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.searchresultspaginationbutton, currentPage == 1 && BDFDB.disCN.searchresultspaginationdisabled, BDFDB.disCN.focusable),
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
className: BDFDB.disCN.searchresultspaginationicon,
nativeClass: true,
@ -148,7 +148,7 @@ var BetterSearchPage = (_ => {
"aria-label": BDFDB.LanguageUtils.LibraryStrings.last,
onClick: _ => {if (currentPage != maxPage) doJump(maxPage);},
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Clickable, {
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.searchresultspaginationbutton, currentPage >= maxPage && BDFDB.disCN.searchresultspaginationdisabled),
className: BDFDB.DOMUtils.formatClassName(BDFDB.disCN.searchresultspaginationbutton, currentPage >= maxPage && BDFDB.disCN.searchresultspaginationdisabled, BDFDB.disCN.focusable),
children: BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.SvgIcon, {
className: BDFDB.disCN.searchresultspaginationicon,
nativeClass: true,