mirror of https://github.com/zulip/zulip.git
timerender.js: Remove use of legacy font awesome base class 'icon-vector'.
This commit is contained in:
parent
72295e94b4
commit
a4b51a33f8
|
@ -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'),
|
||||
];
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue