Fix map reference regression

This commit is contained in:
Tom MacWright
2013-01-02 14:37:47 -05:00
parent f5873a3bc1
commit 6040c6efa3
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -13,7 +13,6 @@ iD.modes.AddLine = function() {
controller = mode.controller;
map.dblclickEnable(false)
.hoverEnable(false)
.hoverEnable(false)
.hint('Click on the map to start drawing an road, path, or route.');
+1 -1
View File
@@ -30,7 +30,7 @@ iD.modes.AddPoint = function() {
};
mode.exit = function() {
map.hoverEnable(true);
mode.map.hoverEnable(true);
mode.map.hint(false);
mode.map.surface.on('click.addpoint', null);
mode.map.keybinding().on('⎋.addpoint', null);