Updated some more font awesome icons for v5

This commit is contained in:
Neel Patel
2020-08-21 14:15:18 +05:30
committed by Akshay Joshi
parent 19491d79a5
commit b53de0c31d
8 changed files with 9 additions and 9 deletions

View File

@@ -2809,7 +2809,7 @@ define([
time: 'fa fa-clock',
data: 'fa fa-calendar-alt',
today: 'fa fa-calendar-check',
clear: 'fa fa-trash',
clear: 'fa fa-trash-alt',
},
buttons: {
showToday: true,

View File

@@ -563,7 +563,7 @@ define([
var self = this;
this.$el.empty();
$(this.$el).attr('tabindex', 0);
this.$el.html('<i aria-label="' + gettext('Delete row') + '" class=\'fa fa-trash\' title=\'' + gettext('Delete row') + '\'></i>');
this.$el.html('<i aria-label="' + gettext('Delete row') + '" class=\'fa fa-trash-alt\' title=\'' + gettext('Delete row') + '\'></i>');
// Listen for Tab/Shift-Tab key
this.$el.on('keydown', function(e) {
// with keyboard navigation on space key, mark row for deletion