fix close button

This commit is contained in:
samanpwbb
2015-02-06 19:35:53 -05:00
parent be8b3daae4
commit c1d393302a
+3 -5
View File
@@ -173,7 +173,9 @@ iD.modes.Save = function(context) {
header.append('button')
.attr('class', 'fr')
.on('click', cancel)
.on('click', function() {
confirm.remove();
})
.append('span')
.attr('class', 'icon close');
@@ -244,14 +246,10 @@ iD.modes.Save = function(context) {
var message = confirm
.select('.message-text');
console.log(message);
var items = message
.selectAll('.error-container')
.data(data);
console.log(data);
var enter = items.enter()
.append('div')
.attr('class', 'error-container');