Fix newsletter submit

This commit is contained in:
Tom Russell 2018-09-30 20:27:40 +01:00
parent c8b320e48d
commit 775f08ab2d

View File

@ -185,10 +185,10 @@ const AboutPage = () => (
<form id="sign-up" action="https://tinyletter.com/colouringlondon" method="post"
target="popupwindow"
onSubmit="window.open(
onSubmit={function() {window.open(
'https://tinyletter.com/colouringlondon',
'popupwindow',
'scrollbars=yes,width=800,height=600'); return true">
'scrollbars=yes,width=800,height=600'); return true}}>
<h3 className="h1">Keep in touch</h3>
<p>