diff --git a/index.html b/index.html index b550390a9..3e69ec52d 100755 --- a/index.html +++ b/index.html @@ -153,10 +153,10 @@ require(["dojo/dom-geometry","dojo/dom-class","dojo/on","dojo/dom","dojo/Evented

 

×
- Presets - Tags + Presets + Tags
-
+
+
+ + + + + + + + + +
KeyValue
+
diff --git a/js/iD/controller/edit/EditBaseState.js b/js/iD/controller/edit/EditBaseState.js index 4e0f21d77..e6b2434db 100644 --- a/js/iD/controller/edit/EditBaseState.js +++ b/js/iD/controller/edit/EditBaseState.js @@ -26,6 +26,14 @@ declare("iD.controller.edit.EditBaseState", [iD.controller.ControllerState], { left: x, top: y }).show(); + $('.edit-pane a.tab').click(function(e) { + $('.edit-pane a.tab').removeClass('active'); + var hud = $(e.currentTarget).addClass('active') + .attr('href').split('#').pop(); + $('.edit-pane .hud').hide(); + $('.edit-pane .' + hud).show(); + }); + $('.edit-pane a.tab:first').click(); $('.edit-pane a[href=#close]').click(this.closeEditorTooltip); }, diff --git a/js/iD/controller/edit/SelectedWayNode.js b/js/iD/controller/edit/SelectedWayNode.js index bf0985b8b..77d3107fb 100755 --- a/js/iD/controller/edit/SelectedWayNode.js +++ b/js/iD/controller/edit/SelectedWayNode.js @@ -30,7 +30,7 @@ declare("iD.controller.edit.SelectedWayNode", [iD.controller.edit.EditBaseState] }, processMouseEvent:function(event,entityUI) { - if (event.type !== 'click') return; + if (event.type !== 'click') return this; var entity = entityUI ? entityUI.entity : null; var entityType = entity ? entity.entityType : null; diff --git a/potlatch.css b/potlatch.css index ab241de9b..12876bbb6 100755 --- a/potlatch.css +++ b/potlatch.css @@ -155,5 +155,3 @@ relation[type=route][route=bicycle][network=ncn] way { z-index: 1; width: 12; co relation[type=route][route=bicycle][network=rcn] way { z-index: 1; width: 12; color: cyan; opacity: 0.3; } relation[type=route][route=bicycle][network=lcn] way { z-index: 1; width: 12; color: blue; opacity: 0.3; } relation[type=route][route=foot] way { z-index: 1; width: 10; color: #80ff80; opacity: 0.6; } - -