Skip to content

Commit

Permalink
[54109] Fixed rubocop naggings
Browse files Browse the repository at this point in the history
  • Loading branch information
apfohl committed Sep 16, 2024
1 parent d812fd9 commit 95e9e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/shared/components/modal/modal.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,9 @@ export class OpModalService {
const scrollY:string = document.body.style.top;

this.bodyRenderer.setStyle(document.body, 'position', '');
this.bodyRenderer.setStyle(document.body, 'top', ``);
this.bodyRenderer.setStyle(document.body, 'top', '');

window.scrollTo(0, parseInt(scrollY || '0') * -1);
window.scrollTo(0, parseInt(scrollY || '0', 10) * -1);
}

/**
Expand Down

0 comments on commit 95e9e70

Please sign in to comment.