Skip to content

Commit d186d8e

Browse files
Add a class instead of override the whole attribute
1 parent a95ad30 commit d186d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angular/src/account/account.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ export class AccountComponent extends AppComponentBase implements OnInit {
3131
}
3232

3333
ngOnInit(): void {
34-
$('body').attr('class', 'login-page');
34+
$('body').addClass('login-page');
3535
}
3636
}

0 commit comments

Comments
 (0)