mirror of
https://github.com/FoggedLens/iD.git
synced 2026-06-05 22:46:38 +02:00
First working revision of undo redo
This commit is contained in:
@@ -95,6 +95,9 @@
|
||||
|
||||
d3.select('.zoombuttons .zoom-in').on('click', map.zoomIn);
|
||||
d3.select('.zoombuttons .zoom-out').on('click', map.zoomOut);
|
||||
|
||||
d3.select('#undo').on('click', map.undo);
|
||||
d3.select('#redo').on('click', map.redo);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user