Skip to content

Commit

Permalink
Fix linter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlong committed Dec 12, 2020
1 parent e97f2a7 commit 0b980a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iso.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ const loadStats = () => {
let currentStreakEnd = null

const days = document.querySelectorAll('.js-calendar-graph rect.day')
const currentWeekDays = days[days.length - 1].parentElement.querySelectorAll('.js-calendar-graph rect.day')
const currentWeekDays = days[days.length - 1].parentElement.querySelectorAll('.js-calendar-graph rect.day')
days.forEach(d => {
const currentDayCount = Number.parseInt(d.dataset.count, 10)
yearTotal += Number.parseInt(currentDayCount, 10)
Expand Down

0 comments on commit 0b980a6

Please sign in to comment.