Feat: Updated hookup method for GitHub contributions calendar with new element structure
This commit is contained in:
@@ -252,6 +252,6 @@ function hookupGitHubContributionsCalendar() {
|
||||
});
|
||||
*/
|
||||
|
||||
const scrollableElement = document.querySelector('.github-calendar table.js-calendar-graph-table');
|
||||
const scrollableElement = document.querySelector('.github-calendar .js-calendar-graph-table');
|
||||
scrollableElement.scrollLeft = scrollableElement.scrollWidth - scrollableElement.clientWidth;
|
||||
}
|
||||
Reference in New Issue
Block a user