More notes, don't simulate a href

This commit is contained in:
Tom MacWright
2012-11-29 14:22:02 -05:00
parent 2c95594154
commit d0fcc8cd26
4 changed files with 9 additions and 5 deletions

View File

@@ -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

View File

@@ -142,9 +142,7 @@ input#geocode-location {
}
#bar .user .logout {
text-decoration:underline;
margin-left:10px;
cursor:pointer;
}
#bar button[disabled] {

View File

@@ -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,

View File

@@ -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