Skip to content

Commit

Permalink
Merge pull request #53 from CodeforcesContestHelper/dev
Browse files Browse the repository at this point in the history
Fix copy bug
  • Loading branch information
tiger2005 committed Aug 10, 2022
2 parents 05563e7 + 152e838 commit 56e171b
Show file tree
Hide file tree
Showing 14 changed files with 3 additions and 80 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
try{
var win = nw.Window.get();
setTimeout(function(){win.show();},300);
// win.showDevTools();
}
catch(error){
document.title = 'Codeforces Contest Helper (Website Mode)';
Expand Down
4 changes: 2 additions & 2 deletions js/problem.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ function initProblemPageInfo(page, data, id){
}
else if(qq.eq(i).attr("class") == "sample-tests"){
var inp = [], oup = [];
qq.eq(i).find(".input pre").each(function(){inp.push($(this).html().replace(/<br>/g, '\n').replace(/<\/div>/g, '</div>\n'))});
qq.eq(i).find(".output pre").each(function(){oup.push($(this).html().replace(/<br>/g, '\n').replace(/<\/div>/g, '</div>\n'))});
qq.eq(i).find(".input pre").each(function(){inp.push($.trim($(this).html().replace(/<br>/g, '\n').replace(/<\/div>/g, '</div>\n')))});
qq.eq(i).find(".output pre").each(function(){oup.push($.trim($(this).html().replace(/<br>/g, '\n').replace(/<\/div>/g, '</div>\n')))});
for(var O=0; O<inp.length; O++){
inp[O] = $(`<span>${inp[O]}</span>`).text();
oup[O] = $(`<span>${oup[O]}</span>`).text();
Expand Down
1 change: 0 additions & 1 deletion mathjax3.2/core.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/latest.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/loader.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/mml-chtml.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/mml-svg.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/node-main.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/startup.js

This file was deleted.

34 changes: 0 additions & 34 deletions mathjax3.2/tex-chtml-full.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/tex-chtml.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/tex-mml-svg.js

This file was deleted.

34 changes: 0 additions & 34 deletions mathjax3.2/tex-svg-full.js

This file was deleted.

1 change: 0 additions & 1 deletion mathjax3.2/tex-svg.js

This file was deleted.

0 comments on commit 56e171b

Please sign in to comment.