Fix top bar on sort panel

This commit is contained in:
Kovid Goyal 2017-02-07 23:35:55 +05:30
parent 6e6cadf996
commit ff12d0be17

View File

@ -230,7 +230,9 @@ def create_sort_panel(container_id):
else:
action = change_sort.bind(None, field, None)
items.push(create_item(name, subtitle=subtitle, icon=icon_name, action=action))
create_item_list(document.getElementById(container_id), items, _('Change how the list of books is sorted'))
container = document.getElementById(container_id)
container.appendChild(E.div())
create_item_list(container.lastChild, items, _('Change how the list of books is sorted'))
# }}}