Skip to content

Commit 2943afd

Browse files
NicolaSaundersjean-gui
authored andcommitted
Update body class in disclosure widget JS
1 parent 7a696a2 commit 2943afd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

assets-src/js/main/disclosure-widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ let disclosureWidget = function () {
2525

2626
});
2727

28-
if (document.body.classList.contains('group')) {
28+
if (document.body.classList.contains('profile')) {
2929

3030
// Media query event handler
3131
let mq = window.matchMedia('(min-width: 64em)');

public/dist/assets/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ let disclosureWidget = function () {
466466
btn.style = "";
467467
btn.setAttribute('aria-expanded', 'false');
468468
});
469-
if (document.body.classList.contains('group')) {
469+
if (document.body.classList.contains('profile')) {
470470
// Media query event handler
471471
let mq = window.matchMedia('(min-width: 64em)');
472472
mq.addListener(WidthChange);

0 commit comments

Comments
 (0)