diff --git a/githubcalendar.js b/githubcalendar.js index c1307b4..5f19233 100644 --- a/githubcalendar.js +++ b/githubcalendar.js @@ -180,7 +180,7 @@ let github_canlendar = (git_user, git_color) => { let 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); append_div_gitcalendar(github_container, html); if(document.getElementById('github_loading')){ - document.getElementById('github_loading').innerHTML = ""}; + document.getElementById('github_loading').remove()}; responsiveChart() }).catch(function (error) { console.log(error)