File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11"use strict" ;
22
33async function insertRating ( row ) {
4- const appid = row . getAttribute ( "data-app-id" ) ;
5- const rating = await getRatingElement ( appid ) ;
6-
74 const statsContainer = row . querySelector ( ".stats" ) ;
85
96 if ( statsContainer . querySelector ( ".protondb_rating_link" ) ) {
107 return true ;
118 }
129
10+ const appid = row . getAttribute ( "data-app-id" ) ;
11+ const rating = await getRatingElement ( appid ) ;
12+
1313 const label = document . createElement ( "div" ) ;
1414 const value = document . createElement ( "div" ) ;
1515
@@ -27,7 +27,7 @@ function insertRatings() {
2727 const rows = document . getElementById ( "wishlist_ctn" ) ;
2828
2929 for ( const row of rows . getElementsByClassName ( "wishlist_row" ) ) {
30- insertRating ( row )
30+ insertRating ( row ) ;
3131 }
3232
3333 setTimeout ( insertRatings , 1000 ) ;
You can’t perform that action at this time.
0 commit comments