mapcomm / common-ground_map

An enhanced leaflet map made for re-use (highly commented, built openly) used to show community groups and find "common ground"
http://mapping.community
1 stars 3 forks source link

URL in sidebar needs to parse for lack of "http://" #1

Closed kidwellj closed 7 years ago

kidwellj commented 7 years ago

Because data will be user generated we can't assume users will know to preface https/http for URL, so will need (1) test for presence of properly formatted URL and as necessary (2) programmatically insert "http://" in the front.

danhillcode commented 7 years ago

Resolved. However, when we get to a stage when users are inputting points on the map it will be safer and better if we can format on entry rather than in a retrospective manner just to reduce potential bugs.

kidwellj commented 7 years ago

Agreed. And thanks!

kidwellj commented 7 years ago

Once you push the new code I'll mark as resolved. :)

kidwellj commented 7 years ago

Great. All set!