From 07732c98222ad08fcde9076df8f1a8193bf4e8c0 Mon Sep 17 00:00:00 2001 From: Andreas Pfohl Date: Tue, 28 May 2024 11:14:11 +0200 Subject: [PATCH] [54109] Fixed rubocop naggings --- frontend/src/app/shared/components/modal/modal.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/shared/components/modal/modal.service.ts b/frontend/src/app/shared/components/modal/modal.service.ts index 128a3ac60396..a35570617b83 100644 --- a/frontend/src/app/shared/components/modal/modal.service.ts +++ b/frontend/src/app/shared/components/modal/modal.service.ts @@ -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); } /**