mirror of
https://github.com/FoggedLens/iD.git
synced 2026-04-29 07:06:04 +02:00
improve navigating saving with keyboard
This commit is contained in:
@@ -421,6 +421,7 @@ button.action {
|
||||
background: #7092ff;
|
||||
}
|
||||
|
||||
button.action:focus,
|
||||
button.action:hover {
|
||||
background: #597BE7;
|
||||
}
|
||||
|
||||
@@ -65,6 +65,7 @@ iD.ui.Commit = function(context) {
|
||||
.attr('class','user-info')
|
||||
.text(user.display_name)
|
||||
.attr('href', connection.url() + '/user/' + user.display_name)
|
||||
.attr('tabindex', -1)
|
||||
.attr('target', '_blank');
|
||||
|
||||
saveSection.append('p')
|
||||
|
||||
+2
-1
@@ -42,7 +42,8 @@ iD.ui.Success = function(connection) {
|
||||
.on('click.save', function() {
|
||||
event.cancel();
|
||||
})
|
||||
.append('span').attr('class','label').text('Okay');
|
||||
.text('Okay')
|
||||
.node().focus();
|
||||
}
|
||||
|
||||
return d3.rebind(success, event, 'on');
|
||||
|
||||
Reference in New Issue
Block a user