diff --git a/src/c3nav/editor/static/editor/js/editor.js b/src/c3nav/editor/static/editor/js/editor.js index 0a6b90a4..35ec67c0 100644 --- a/src/c3nav/editor/static/editor/js/editor.js +++ b/src/c3nav/editor/static/editor/js/editor.js @@ -1730,7 +1730,7 @@ editor = { var snapTo90Control = L.control({position: 'topleft'}); snapTo90Control.onAdd = function() { var container = L.DomUtil.create('div', 'leaflet-bar leaflet-control leaflet-control-snap'); - container.innerHTML = ''; L.DomEvent.on(container.querySelector('.snap-to-90-toggle'), 'click', function(e) { diff --git a/src/c3nav/static/img/snap-to-90-icon.svg b/src/c3nav/static/img/snap-to-90-icon.svg new file mode 100644 index 00000000..e54076c8 --- /dev/null +++ b/src/c3nav/static/img/snap-to-90-icon.svg @@ -0,0 +1,3 @@ + + +
90°
90°
\ No newline at end of file