diff --git a/static/js/message_list_view.js b/static/js/message_list_view.js index ad08c7d059..82e865743c 100644 --- a/static/js/message_list_view.js +++ b/static/js/message_list_view.js @@ -381,21 +381,6 @@ MessageListView.prototype = { table.append(rendered_elems); list.update_trailing_bookend(); - - // XXX: This is absolutely awful. There is a firefox bug - // where when table rows as DOM elements are appended (as - // opposed to as a string) a border is sometimes added to the - // row. This border goes away if we add a dummy row to the - // top of the table (it doesn't go away on any reflow, - // though, as resizing the window doesn't make them go away). - // So, we add an empty row and then garbage collect them - // later when the user is idle. - var dummy = $("
"); - table.find('.ztable_layout_row').after(dummy); - $(document).idle({'idle': 1000*10, - 'onIdle': function () { - dummy.remove(); - }}); } _.each(rendered_elems, function (elem) {