mirror of https://github.com/zulip/zulip.git
Simplify bookend creation
(imported from commit 8faf260037b7e0508d9e4acea24687ebc06ea0ef)
This commit is contained in:
parent
7d894d8dd1
commit
81ff352ac3
|
@ -633,7 +633,7 @@ function add_to_tables(zephyr, parent, table) {
|
|||
if (parent !== undefined) {
|
||||
// add a space to the table, but not if we have no parent because
|
||||
// we don't want a bookend as the first element.
|
||||
table.append($('<tr />').append($('<td />')).append($('<td />')).append($('<td />').addClass('bookend')));
|
||||
table.append('<tr><td /><td /><td class="bookend" /></tr>');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue