• Uncategorised

Euro Truck Simulator 2

' + '' ); £('.scoreDescriptionWrapper').html('' + data.score.description + ''); £('.optimisationScore1').text(data.score.recentValue); £('.scoreDescriptionWrapper1').html('' + data.score.recentDescription + ''); //When thumb is clicked the opposite will change colour to grey. £('.thumbGrey').removeClass('thumbGrey'); £('.thumb-btn-'+gameID+'[data-thumb-val=' + (-thumbVal) + ']').addClass('thumbGrey'); if (thumbVal == 1) { thumbUp.addClass('thumb--green'); thumbDown.removeClass('thumb--red'); } else { thumbUp.removeClass('thumb--green'); thumbDown.addClass('thumb--red'); } } if (typeof data.total !== 'undefined') { £('.optimizationThumbsCount').text(data.total); } }); }]]>

You may also like...