[openstreetmap/openstreetmap-website] Add links to the ToU and include them in signup (#2028)

Simon Poole notifications at github.com
Wed Jan 30 12:24:54 UTC 2019


simonpoole commented on this pull request.



> @@ -124,4 +124,9 @@ $(document).ready(function () {
     $("#contributorTerms").html("<img src='" + OSM.SEARCHING + "' />");
     $("#contributorTerms").load(url);
   });
+
+  $("#read_tou").on("click", function () { 
+    var agreebtn = document.getElementById('agree');
+    agreebtn.disabled=!this.checked;

Changed in https://github.com/openstreetmap/openstreetmap-website/pull/2028/commits/c23ba6fc60f6a9ad11f2005bbb89f5e6d717a594

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/2028#discussion_r252233613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20190130/9dffbb2d/attachment.html>


More information about the rails-dev mailing list