File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 107107 class ="textButton hidden "
108108 aria-label ="Report quote "
109109 data-balloon-pos ="up "
110- style ="display: inline-block "
111110 >
112111 < i class ="icon fas fa-fw fa-flag "> </ i >
113112 </ span >
116115 class ="textButton hidden "
117116 aria-label ="Favorite quote "
118117 data-balloon-pos ="up "
119- style ="display: inline-block "
120118 >
121119 < i class ="icon far fa-fw fa-heart "> </ i >
122120 </ span >
Original file line number Diff line number Diff line change @@ -921,7 +921,7 @@ function updateQuoteFavorite(randomQuote: Quote | null): void {
921921 const icon = qs ( ".pageTest #result #favoriteQuoteButton .icon" ) ;
922922
923923 if ( Config . mode !== "quote" || ! isAuthenticated ( ) ) {
924- icon ?. getParent ( ) ?. setStyle ( { display : "none" } ) ;
924+ icon ?. getParent ( ) ?. hide ( ) ;
925925 return ;
926926 }
927927
You can’t perform that action at this time.
0 commit comments