We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82405b1 commit 9f6a187Copy full SHA for 9f6a187
webapp/public/js/domjudge.js
@@ -869,7 +869,9 @@ function resizeMobileTeamNamesAndProblemBadges() {
869
});
870
}
871
872
-if (document.querySelector('.mobile-scoreboard')) {
873
- window.addEventListener('resize', resizeMobileTeamNamesAndProblemBadges);
874
- resizeMobileTeamNamesAndProblemBadges();
875
-}
+$(function() {
+ if (document.querySelector('.mobile-scoreboard')) {
+ window.addEventListener('resize', resizeMobileTeamNamesAndProblemBadges);
+ resizeMobileTeamNamesAndProblemBadges();
876
+ }
877
+});
0 commit comments