Skip to content

Commit

Permalink
fix tooltip of "back/forward" buttons in preset list and entity editor
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrasd committed Nov 1, 2022
1 parent 34a414e commit 78d37fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/ui/entity_editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion modules/ui/preset_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`));

Expand Down

0 comments on commit 78d37fd

Please sign in to comment.