Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger2005 committed Dec 2, 2021
1 parent c82398a commit 1c17797
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@
$('body').css('background','#bbb');
}
DarkMode = !DarkMode;
profileDrawGraph(profileInfoDatas[4]);
}
if (window.matchMedia('(prefers-color-scheme)').media !== 'not all') {
var listeners={
Expand Down
1 change: 0 additions & 1 deletion js/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(`<div class="loadingInterface"><div><i class="fas fa-calculator"></i><span class="popTip" info="tipCalculatingRankGraph">${languageOption.tip.tipCalculatingRankGraph}</span></div></div>`);
Expand Down

0 comments on commit 1c17797

Please sign in to comment.