diff --git a/js/iD/Node.js b/js/iD/Node.js index 7f89c78cf..3d379a001 100644 --- a/js/iD/Node.js +++ b/js/iD/Node.js @@ -52,12 +52,12 @@ iD.Node.prototype = { this.connection.refreshEntity(this); }, - doSetLonLatp: function(lon,latproj,performAction) { + doSetLonLatp: function(lon, latproj, performAction) { // summary: Change the position of a node, using an undo stack. performAction(new iD.actions.MoveNodeAction(this, this.latp2lat(latproj), lon, - lang.hitch(this,this._setLatLonImmediate))); + _.bind(this._setLatLonImmediate, this))); }, _setLatLonImmediate: function(lat,lon) {