Skip to content

Commit 942efd7

Browse files
author
Jason Long
committed
Merge pull request jasonlong#26 from jasonlong/fix-current-streak
Fix current streak values
2 parents dff1954 + d993b1b commit 942efd7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

chrome/iso.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ class Iso
193193
datesLongest = $(contribColumns[1]).find('span:last-child').html()
194194

195195
# Current streak
196-
str = $(contribColumns[1]).find('.contrib-number').html()
196+
str = $(contribColumns[2]).find('.contrib-number').html()
197197
countCurrent = (str.match /(((\d{1,3})(,\d{3})*)|(\d+))(.\d+)?/)[0]
198-
datesCurrent = $(contribColumns[1]).find('span:last-child').html()
198+
datesCurrent = $(contribColumns[2]).find('span:last-child').html()
199199

200200
html = """
201201
<div class="ic-stats-block ic-stats-bottom">

chrome/iso.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chrome/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Isometric Contributions",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Renders an isometric pixel view of GitHub contribution graphs.",
55
"content_scripts": [ {
66
"css": [ "iso.css" ],

0 commit comments

Comments
 (0)