Fix leftover or inadvertantly removed comments.
This commit is contained in:
parent
3ca521d633
commit
6880fe8400
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
bindEvents() {
|
bindEvents() {
|
||||||
// TODO: Check if this is being bound correctly
|
|
||||||
return this.togglePriorityButton.on('click', this, this.onTogglePriorityClick);
|
return this.togglePriorityButton.on('click', this, this.onTogglePriorityClick);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,6 +50,7 @@
|
||||||
$target.find('.empty-message').addClass('hidden');
|
$target.find('.empty-message').addClass('hidden');
|
||||||
}
|
}
|
||||||
$label.detach().appendTo($target);
|
$label.detach().appendTo($target);
|
||||||
|
// Return if we are not persisting state
|
||||||
if (!persistState) {
|
if (!persistState) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -59,6 +59,7 @@
|
||||||
url,
|
url,
|
||||||
type: 'DELETE'
|
type: 'DELETE'
|
||||||
});
|
});
|
||||||
|
// Restore empty message
|
||||||
if (!$from.find('li').length) {
|
if (!$from.find('li').length) {
|
||||||
$from.find('.empty-message').removeClass('hidden');
|
$from.find('.empty-message').removeClass('hidden');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue