File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ async function handleSubmit(event) {
1313 } ,
1414 } )
1515 . then ( ( response ) => {
16- status . innerHTML = "Thanks for your submission! " ;
16+ status . innerHTML = "Your message has been sent. " ;
1717 document . querySelector ( ".alert_style" ) . style . display = "block" ;
1818
1919 // hide alert after 3 seconds
@@ -23,7 +23,7 @@ async function handleSubmit(event) {
2323 form . reset ( ) ;
2424 } )
2525 . catch ( ( error ) => {
26- status . innerHTML = "Oops! There was a problem submitting your form " ;
26+ status . innerHTML = "Oops! There was a problem delivering your message, please contact via other means. " ;
2727 document . querySelector ( ".alert_style" ) . style . display = "block" ;
2828
2929 // hide alert after 3 seconds
@@ -126,7 +126,7 @@ function scrollActive() {
126126 sections . forEach ( ( current ) => {
127127 const sectionHeight = current . offsetHeight ;
128128 const sectionTop = current . offsetTop - 50 ;
129- sectionId = current . getAttribute ( "id" ) ;
129+ let sectionId = current . getAttribute ( "id" ) ;
130130
131131 if ( scrollY > sectionTop && scrollY <= sectionTop + sectionHeight ) {
132132 document
You can’t perform that action at this time.
0 commit comments