mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 00:00:12 +01:00
Remember collapsed state of "Completed actions"
This commit is contained in:
parent
08bcb1ac38
commit
7893401c2f
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ var TodoItemsContainer = {
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
// set to cookied state
|
// set to cookied state
|
||||||
$('.container.context').each(function(){
|
$('.container.context, .container.completed').each(function(){
|
||||||
if($.cookie(TodoItemsContainer.buildCookieName(this))=="true"){
|
if($.cookie(TodoItemsContainer.buildCookieName(this))=="true"){
|
||||||
$(this).find('.toggle_target').hide();
|
$(this).find('.toggle_target').hide();
|
||||||
$(this).find('.toggle_target').parent().addClass("context_collapsed");
|
$(this).find('.toggle_target').parent().addClass("context_collapsed");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue