Commit 37006da1 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'cngo-fix-console-error' into 'master'

Fix offsetHeight console error

See merge request gitlab-org/gitlab!53842
parents 34b5d0c0 0f79af3d
...@@ -123,7 +123,7 @@ export const handleLocationHash = () => { ...@@ -123,7 +123,7 @@ export const handleLocationHash = () => {
} }
if (isInIssuePage()) { if (isInIssuePage()) {
adjustment -= fixedIssuableTitle.offsetHeight; adjustment -= fixedIssuableTitle?.offsetHeight;
} }
if (isInMRPage()) { if (isInMRPage()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment