mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-21 11:16:36 +02:00
Clean up
This commit is contained in:
@@ -442,8 +442,6 @@ iD.Map = function(elem, connection) {
|
||||
}
|
||||
}
|
||||
|
||||
// UI elements
|
||||
// -----------
|
||||
function update() {
|
||||
map.update();
|
||||
redraw();
|
||||
@@ -454,12 +452,6 @@ iD.Map = function(elem, connection) {
|
||||
update();
|
||||
}
|
||||
|
||||
function _do(operation) {
|
||||
history.operate(operation);
|
||||
update();
|
||||
}
|
||||
|
||||
// Undo/redo
|
||||
function undo() {
|
||||
history.undo();
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user