mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-24 14:43:51 +00:00
Restore background color and close button to save headers
This commit is contained in:
@@ -31,7 +31,13 @@ iD.ui.Commit = function(context) {
|
||||
function changesLength(d) { return changes[d].length; }
|
||||
|
||||
var header = selection.append('div')
|
||||
.attr('class', 'header');
|
||||
.attr('class', 'header fillL');
|
||||
|
||||
header.append('button')
|
||||
.attr('class', 'fr')
|
||||
.append('span')
|
||||
.attr('class', 'icon close')
|
||||
.on('click', event.cancel);
|
||||
|
||||
header.append('h3')
|
||||
.text(t('commit.title'));
|
||||
|
||||
@@ -7,7 +7,13 @@ iD.ui.Success = function(context) {
|
||||
' ' + context.connection().changesetURL(changeset.id);
|
||||
|
||||
var header = selection.append('div')
|
||||
.attr('class', 'header');
|
||||
.attr('class', 'header fillL');
|
||||
|
||||
header.append('button')
|
||||
.attr('class', 'fr')
|
||||
.append('span')
|
||||
.attr('class', 'icon close')
|
||||
.on('click', event.cancel);
|
||||
|
||||
header.append('h3')
|
||||
.text(t('just_edited'));
|
||||
|
||||
Reference in New Issue
Block a user