Skip to content

Commit

Permalink
Fix using Steam's uncompleted translations
Browse files Browse the repository at this point in the history
  • Loading branch information
MxtOUT committed Apr 13, 2020
1 parent b4e457e commit 082acfc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions js/content/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -1104,11 +1104,6 @@ let Stats = (function() {

achNode.style.whiteSpace = "nowrap";

if (!achNode.querySelector("img")) {
// The size of the achievement bars for games without leaderboards/other stats is fine, return
return achNode.innerHTML;
}

let stats = achNode.innerHTML.match(/(\d+) of (\d+) \((\d{1,3})%\)/);

// 1 full match, 3 group matches
Expand Down

0 comments on commit 082acfc

Please sign in to comment.