diff --git a/NOTES.md b/NOTES.md index 8d67f6c70..d4bd87c74 100644 --- a/NOTES.md +++ b/NOTES.md @@ -28,6 +28,10 @@ _However_ JOSM also does a little trick where if you have a node selected and then enter draw mode, it'll start either a new way or a continuation of the way, depending on whether it's the start or the end. +## Relations and Turn Restrictions + +http://wiki.openstreetmap.org/wiki/Relation:restriction + ## Pathological conditions * Ways with one node diff --git a/css/app.css b/css/app.css index aa4c85532..e96268775 100644 --- a/css/app.css +++ b/css/app.css @@ -142,9 +142,7 @@ input#geocode-location { } #bar .user .logout { - text-decoration:underline; margin-left:10px; - cursor:pointer; } #bar button[disabled] { diff --git a/js/id/actions/modes.js b/js/id/actions/modes.js index 501cbfe36..8c0312841 100644 --- a/js/id/actions/modes.js +++ b/js/id/actions/modes.js @@ -95,8 +95,6 @@ iD.modes.AddRoad = { // http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/actions/mapmode/ImproveWayAccuracyAction.java#L431 // https://github.com/systemed/potlatch2/blob/master/net/systemeD/halcyon/connection/Way.as#L215 - - function addRoad() { var t = d3.select(d3.event.target), node, diff --git a/js/id/ui/userpanel.js b/js/id/ui/userpanel.js index 9d0735973..c38c9dffa 100644 --- a/js/id/ui/userpanel.js +++ b/js/id/ui/userpanel.js @@ -16,8 +16,12 @@ iD.userpanel = function(connection) { selection .append('a') .attr('class', 'logout') + .attr('href', '#') .text('logout') - .on('click', event.logout); + .on('click', function() { + d3.event.preventDefault(); + event.logout(); + }); }); } else { selection