remove title attrs from icons

This commit is contained in:
daria 2026-04-28 12:17:37 +03:00
parent bf79d7a55c
commit 83ef49ac8a
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701

View File

@ -287,7 +287,7 @@ define([
role: 'button',
'aria-label': Messages.contacts_fetchHistory
});
moreHistory.append(Icons.get('history', {title: Messages.contacts_fetchHistory}));
moreHistory.append(Icons.get('history'));
var chan = state.channels[id];
var displayName = UI.getDisplayName(chan.name || chan.displayName);
@ -360,7 +360,7 @@ define([
'role': 'button',
'aria-label': Messages.contacts_removeHistoryTitle
});
removeHistory.append(Icons.get('remove-history', {title: Messages.contacts_removeHistoryTitle}));
removeHistory.append(Icons.get('remove-history'));
$(removeHistory).on('keydown', function (e) {
if (e.which === 13 || e.which === 32) {