diff --git a/index.html b/index.html index 004a988..54a779f 100644 --- a/index.html +++ b/index.html @@ -1152,6 +1152,7 @@ $('body').css('background','#bbb'); } DarkMode = !DarkMode; + profileDrawGraph(profileInfoDatas[4]); } if (window.matchMedia('(prefers-color-scheme)').media !== 'not all') { var listeners={ diff --git a/js/settings.js b/js/settings.js index ee9093d..f7bf8e8 100644 --- a/js/settings.js +++ b/js/settings.js @@ -651,7 +651,6 @@ function initStyle(){ if(problemNewWinLoaded){ problemNewWinJQ.find(".ThemeTypeIf").attr("href", DarkMode ? "./css/problem/dark.css" : "./css/problem/default.css"); } - profileDrawGraph(profileInfoDatas[4]); if(contestRankInfo == undefined || contestRankInfo[contestRankChosen].length == 0) return; if(contestCalculatingRank[contestRankChosen]) $("#singleRankGraphContainer").html(`
${languageOption.tip.tipCalculatingRankGraph}
`);