timerender.js: Remove use of legacy font awesome base class 'icon-vector'.

This commit is contained in:
Aditya Bansal 2018-10-15 19:22:54 +05:30
parent 72295e94b4
commit a4b51a33f8
2 changed files with 4 additions and 4 deletions

View File

@ -113,10 +113,10 @@ run_test('render_date_renders_time_above_html', () => {
};
var expected = [
'<i class="date-direction icon-vector-caret-up"></i>',
'<i class="date-direction fa fa-caret-up"></i>',
i18n.t('Yesterday'),
'<hr class="date-line">',
'<i class="date-direction icon-vector-caret-down"></i>',
'<i class="date-direction fa fa-caret-down"></i>',
i18n.t('Today'),
];

View File

@ -121,10 +121,10 @@ function render_date_span(elem, rendered_time, rendered_time_above) {
elem.text("");
if (rendered_time_above !== undefined) {
var pieces = [
'<i class="date-direction icon-vector-caret-up"></i>',
'<i class="date-direction fa fa-caret-up"></i>',
rendered_time_above.time_str,
'<hr class="date-line">',
'<i class="date-direction icon-vector-caret-down"></i>',
'<i class="date-direction fa fa-caret-down"></i>',
rendered_time.time_str,
];
elem.append(pieces);