Commit 2f286834575c218dcd92d17c891eefdc3eb56a9e

Authored by Austin Smith
1 parent f4c4e0569a
Exists in master

fixing dual-update issue

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

assets/javascripts/task_board.js View file @ 2f28683
... ... @@ -157,6 +157,8 @@
157 157 onUpdate: function(e, ui) {
158 158 // Add or remove 'empty' class
159 159 var list = ui.item.parent();
  160 + if (list.attr('id') != 'prioritized') return;
  161 +
160 162 if (list.hasClass('empty') && list.find('.card').length > 0) {
161 163 list.removeClass('empty');
162 164 }