@@ -117,7 +117,7 @@ export class ZaapSearchFilter extends Mod {
117117 this . zaapSearchInput . focus ( )
118118 this . zaapSearchInput . select ( )
119119 } ) ;
120-
120+
121121 }
122122
123123 private addFavInDom ( ) {
@@ -143,16 +143,9 @@ export class ZaapSearchFilter extends Mod {
143143 if ( unfav != 0 ) {
144144 favoriArray . splice ( unfav , 1 )
145145 divButton . innerHTML = `
146- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
147- <path fill="none" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
148- </svg>
149- `
146+ <img width="25" height="24" src="./assets/ui/icons/greyStar.png">
147+ `
150148 } else {
151- /*divButton.innerHTML = `
152- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
153- <path fill="yellow" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
154- </svg>
155- `*/
156149 divButton . innerHTML = `
157150 <img width="25" height="24" src="./assets/ui/icons/goldenStar.png">
158151 `
@@ -176,20 +169,10 @@ export class ZaapSearchFilter extends Mod {
176169 }
177170
178171 if ( trouver ) {
179- /*divButton.innerHTML = `
180- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
181- <path fill="yellow" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
182- </svg>
183- `*/
184172 divButton . innerHTML = `
185173 <img width="25" height="24" src="./assets/ui/icons/goldenStar.png">
186174 `
187175 } else {
188- /*divButton.innerHTML = `
189- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
190- <path fill="none" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
191- </svg>
192- `*/
193176 divButton . innerHTML = `
194177 <img width="25" height="24" src="./assets/ui/icons/greyStar.png">
195178 `
@@ -324,11 +307,6 @@ export class ZaapSearchFilter extends Mod {
324307 <img width="25" height="24" src="./assets/ui/icons/greyStar.png">
325308 `
326309 } else {
327- /*divButton.innerHTML = `
328- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
329- <path fill="yellow" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
330- </svg>
331- `*/
332310 divButton . innerHTML = `
333311 <img width="25" height="24" src="./assets/ui/icons/goldenStar.png">
334312 `
@@ -352,20 +330,10 @@ export class ZaapSearchFilter extends Mod {
352330 }
353331
354332 if ( trouver ) {
355- /*divButton.innerHTML = `
356- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
357- <path fill="yellow" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
358- </svg>
359- `*/
360333 divButton . innerHTML = `
361334 <img width="25" height="24" src="./assets/ui/icons/goldenStar.png">
362335 `
363336 } else {
364- /*divButton.innerHTML = `
365- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
366- <path fill="none" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
367- </svg>
368- `*/
369337 divButton . innerHTML = `
370338 <img width="25" height="24" src="./assets/ui/icons/greyStar.png">
371339 `
@@ -501,11 +469,6 @@ export class ZaapSearchFilter extends Mod {
501469 <img width="25" height="24" src="./assets/ui/icons/greyStar.png">
502470 `
503471 } else {
504- /*divButton.innerHTML = `
505- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
506- <path fill="yellow" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
507- </svg>
508- `*/
509472 divButton . innerHTML = `
510473 <img width="25" height="24" src="./assets/ui/icons/goldenStar.png">
511474 `
@@ -529,20 +492,10 @@ export class ZaapSearchFilter extends Mod {
529492 }
530493
531494 if ( trouver ) {
532- /*divButton.innerHTML = `
533- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
534- <path fill="yellow" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
535- </svg>
536- `*/
537495 divButton . innerHTML = `
538496 <img width="25" height="24" src="./assets/ui/icons/goldenStar.png">
539497 `
540498 } else {
541- /*divButton.innerHTML = `
542- <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 51 48">
543- <path fill="none" stroke="#000" d="m25,1 6,17h18l-14,11 5,17-15-10-15,10 5-17-14-11h18z"/>
544- </svg>
545- `*/
546499 divButton . innerHTML = `
547500 <img width="25" height="24" src="./assets/ui/icons/greyStar.png">
548501 `
0 commit comments