diff --git a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js index b9b87aa7b..8c10bcd6a 100644 --- a/deluge/ui/web/js/deluge-all/Deluge.Torrents.js +++ b/deluge/ui/web/js/deluge-all/Deluge.Torrents.js @@ -287,6 +287,7 @@ Copyright: store.commitChanges(); var sortState = store.getSortState() + if (!sortState) return; store.sort(sortState.field, sortState.direction); },