Skip to content

Commit 769cc7a

Browse files
authored
Merge pull request #310 from jasonlong/fix-async-graph-loading
Handle async contribution graph loading
2 parents b157e89 + c0a5f27 commit 769cc7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/iso.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,9 @@ const datesDayDifference = (date1, date2) => {
453453
}
454454

455455
;(async function () {
456-
if (document.querySelector('.js-calendar-graph')) {
456+
// Are we on a profile page?
457+
if (document.querySelector('.vcard-names-container')) {
457458
await getSettings()
458-
generateIsometricChart()
459459

460460
const config = { attributes: true, childList: true, subtree: true }
461461
const callback = (mutationsList) => {

0 commit comments

Comments
 (0)