Fix close button event binding in save dialog

Fixes #1713
This commit is contained in:
John Firebaugh
2013-08-21 15:47:00 -07:00
parent ccf2491bdd
commit 93c1e7ad80

View File

@@ -32,9 +32,9 @@ iD.ui.Commit = function(context) {
header.append('button')
.attr('class', 'fr')
.on('click', event.cancel)
.append('span')
.attr('class', 'icon close')
.on('click', event.cancel);
.attr('class', 'icon close');
header.append('h3')
.text(t('commit.title'));