Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
novalagung authored Apr 20, 2022
1 parent d88cf6e commit f490dad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class SkeetOverflow {
// since jon skeet reputation is cached and it's very possible in one second delay his reputation is updated,
// so we use this stupid technique to make sure the current reputation matches with his'.
if (Math.abs(reputation - this.jonSkeetReputation) < 100000) {
return 'The 1'
return 'The 100%'
}

const scaledReputation = parseFloat(reputation / this.jonSkeetReputation) * 100
Expand Down Expand Up @@ -159,4 +159,4 @@ class SkeetOverflow {

jQuery(() => {
new SkeetOverflow().run()
})
})

0 comments on commit f490dad

Please sign in to comment.