mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
More notes, don't simulate a href
This commit is contained in:
4
NOTES.md
4
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
|
||||
|
||||
@@ -142,9 +142,7 @@ input#geocode-location {
|
||||
}
|
||||
|
||||
#bar .user .logout {
|
||||
text-decoration:underline;
|
||||
margin-left:10px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#bar button[disabled] {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user