From 970de9ffa183ad8c9dbd306aadd5c651c738bb0d Mon Sep 17 00:00:00 2001 From: Tom MacWright Date: Thu, 24 Jan 2013 16:35:22 -0500 Subject: [PATCH] Please keep indentation simple: 4 spaces always --- js/id/ui/commit.js | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/js/id/ui/commit.js b/js/id/ui/commit.js index b1977e756..d58e9ca3d 100644 --- a/js/id/ui/commit.js +++ b/js/id/ui/commit.js @@ -66,27 +66,27 @@ iD.ui.commit = function(map) { // Confirm / Cancel Buttons var buttonwrap = comment_section.append('div') - .attr('class', 'buttons cf') - .append('div') - .attr('class', 'button-wrap joined col4'); + .attr('class', 'buttons cf') + .append('div') + .attr('class', 'button-wrap joined col4'); var savebutton = buttonwrap - .append('button') - .attr('class', 'save action col6 button') - .on('click.save', function() { - event.save({ - comment: d3.select('textarea.changeset-comment').node().value - }); + .append('button') + .attr('class', 'save action col6 button') + .on('click.save', function() { + event.save({ + comment: d3.select('textarea.changeset-comment').node().value }); - savebutton.append('span').attr('class','label').text('Save'); + }); + savebutton.append('span').attr('class','label').text('Save'); var cancelbutton = buttonwrap.append('button') - .attr('class', 'cancel col6 button') - .on('click.cancel', function() { - event.cancel(); - }); - cancelbutton.append('span').attr('class','icon close icon-pre-text'); - cancelbutton.append('span').attr('class','label').text('Cancel'); + .attr('class', 'cancel col6 button') + .on('click.cancel', function() { + event.cancel(); + }); + cancelbutton.append('span').attr('class','icon close icon-pre-text'); + cancelbutton.append('span').attr('class','label').text('Cancel'); var warnings = body.selectAll('div.warning-section') .data(iD.validate(changes, map.history().graph()))