Skip to content

Commit 07116d8

Browse files
committed
Fixed_Contact-Us_Submission_Error
1 parent 09bf2b5 commit 07116d8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/pages/Contact/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ const Contact = () => {
3636
{ name: 'Home', href: '/home' },
3737
{ name: 'Contact', href: '/about/contact' },
3838
];
39-
39+
const handlePageheight = function()
40+
{
41+
window.parent.scrollTo(0,0)
42+
}
4043
return (
4144
<Box>
4245
<Box className='boxBackground'>
@@ -62,6 +65,7 @@ const Contact = () => {
6265
frameBorder='0'
6366
marginHeight='0'
6467
marginWidth='0'
68+
onLoad={handlePageheight}
6569
>
6670
Loading…
6771
</CardMedia>

0 commit comments

Comments
 (0)