From 486f778c9c4e9efaa18eaf95d59bad8c6f501618 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 25 Dec 2012 13:57:03 -0800 Subject: [PATCH] Don't need to copy here --- js/id/ui/inspector.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/id/ui/inspector.js b/js/id/ui/inspector.js index 73dc9878f..570d30b75 100644 --- a/js/id/ui/inspector.js +++ b/js/id/ui/inspector.js @@ -8,8 +8,8 @@ iD.Inspector = function() { function osmLink(d) { return 'http://www.openstreetmap.org/browse/' + d.type + '/' + d.osmId(); } - function emitChangeDirection(d) { event.changeWayDirection(iD.Entity(d)); } - function emitSplitWay(d) { event.splitWay(iD.Entity(d)); } + function emitChangeDirection(d) { event.changeWayDirection(d); } + function emitSplitWay(d) { event.splitWay(d); } selection.html(''); var h2 = selection.append('h2'); h2.append('span').attr('class', function(d) {