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 2dd9b7c commit 6209eb1Copy full SHA for 6209eb1
webapp/public/js/domjudge.js
@@ -989,7 +989,9 @@ function resizeMobileTeamNamesAndProblemBadges() {
989
});
990
}
991
992
-if (document.querySelector('.mobile-scoreboard')) {
993
- window.addEventListener('resize', resizeMobileTeamNamesAndProblemBadges);
994
- resizeMobileTeamNamesAndProblemBadges();
995
-}
+$(function() {
+ if (document.querySelector('.mobile-scoreboard')) {
+ window.addEventListener('resize', resizeMobileTeamNamesAndProblemBadges);
+ resizeMobileTeamNamesAndProblemBadges();
996
+ }
997
+});
0 commit comments