Commit 4b71dfe7b84a103c0d12d46266d32450bb3c5de2
1 parent
5db596b4
fix
Showing
1 changed file
with
1 additions
and
1 deletions
entries/static/entries/js/entries.js
... | ... | @@ -969,8 +969,8 @@ function update_entries() { |
969 | 969 | $(row).click(function() { |
970 | 970 | var selected_entry = $(this).data('entry'); |
971 | 971 | if (selected_entry !== curr_entry) { |
972 | - get_entry(selected_entry, related); | |
973 | 972 | $('.entry[data-entry="' + curr_entry + '"]').removeClass('table-primary'); |
973 | + get_entry(selected_entry, related); | |
974 | 974 | $(this).addClass('table-primary'); |
975 | 975 | } |
976 | 976 | }); |
... | ... |