mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
fix tooltip of "back/forward" buttons in preset list and entity editor
This commit is contained in:
@@ -47,7 +47,7 @@ export function uiEntityEditor(context) {
|
||||
headerEnter
|
||||
.append('button')
|
||||
.attr('class', 'preset-reset preset-choose')
|
||||
.attr('title', t(`icons.${direction}`))
|
||||
.attr('title', t('inspector.back_tooltip'))
|
||||
.call(svgIcon(`#iD-icon-${direction}`));
|
||||
|
||||
headerEnter
|
||||
|
||||
@@ -42,7 +42,7 @@ export function uiPresetList(context) {
|
||||
messagewrap
|
||||
.append('button')
|
||||
.attr('class', 'preset-choose')
|
||||
.attr('title', direction)
|
||||
.attr('title', _entityIDs.length === 1 ? t('inspector.edit') : t('inspector.edit_features'))
|
||||
.on('click', function() { dispatch.call('cancel', this); })
|
||||
.call(svgIcon(`#iD-icon-${direction}`));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user