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 e164fbb commit cb551c1Copy full SHA for cb551c1
webapp/public/js/domjudge.js
@@ -983,7 +983,9 @@ function resizeMobileTeamNamesAndProblemBadges() {
983
});
984
}
985
986
-if (document.querySelector('.mobile-scoreboard')) {
987
- window.addEventListener('resize', resizeMobileTeamNamesAndProblemBadges);
988
- resizeMobileTeamNamesAndProblemBadges();
989
-}
+$(function() {
+ if (document.querySelector('.mobile-scoreboard')) {
+ window.addEventListener('resize', resizeMobileTeamNamesAndProblemBadges);
+ resizeMobileTeamNamesAndProblemBadges();
990
+ }
991
+});
0 commit comments