Skip to content

Commit

Permalink
Update hexo_githubcalendar.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Zfour authored Mar 5, 2021
1 parent dd08198 commit a628d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hexo_githubcalendar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
function GithubCalendar(git_githubapiurl,git_color,git_user){
if(document.getElementById('github_loading')){
document.getElementById('github_loading').innerHTML = ""};
if(document.getElementById('github_container')){
var github_canlendar = (git_user,git_githubapiurl, git_color) => {
var git_fixed = 'fixed';
Expand Down Expand Up @@ -176,8 +178,6 @@ function GithubCalendar(git_githubapiurl,git_color,git_user){
git_monthindex = git_thisday.substring(5, 7) * 1;
git_montharrbefore = git_month.splice(git_monthindex, 12 - git_monthindex);
git_monthchange = git_montharrbefore.concat(git_month);
if(document.getElementById('github_loading')){
document.getElementById('github_loading').innerHTML = ""};
addweek(data);
addlastmonth();
var html = github_main_box(git_monthchange, git_data, git_user, git_color, git_total, git_thisweekdatacore, git_weekdatacore, git_oneyearbeforeday, git_thisday, git_aweekago, git_amonthago);
Expand Down

0 comments on commit a628d43

Please sign in to comment.