Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.12 KB

add-confirmation.md

File metadata and controls

39 lines (30 loc) · 1.12 KB
layout title
default
Add Healthy Food Location, Food Oasis Los Angeles

Thanks! Your suggestion has been submitted!

Once approved, your suggestion will appear on our map.

View your suggestion on GitHub here!

<script> // Test to see if the browser supports the HTML template element by checking // for the presence of the template element's content attribute. // KUDOS: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template if ('content' in document.createElement('template')) { var pr_link = window.location.href.match(/\?pr_link=(.*)/)[1]; if (pr_link) { var template = document.getElementById('link-template'); var link = template.content.querySelector('a'); link.setAttribute('href', pr_link); var clone = document.importNode(template.content, true); var messageSection = document.getElementById('messageSection'); messageSection.insertBefore(clone, messageSection.querySelector('p')); } } </script>

{% include add-form.html %}