diff options
Diffstat (limited to 'debug_toolbar/static')
| -rw-r--r-- | debug_toolbar/static/debug_toolbar/js/toolbar.js | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/debug_toolbar/static/debug_toolbar/js/toolbar.js b/debug_toolbar/static/debug_toolbar/js/toolbar.js index e062f9e..3e0913b 100644 --- a/debug_toolbar/static/debug_toolbar/js/toolbar.js +++ b/debug_toolbar/static/debug_toolbar/js/toolbar.js @@ -58,9 +58,9 @@                  return false;              });              $('#djDebug .djDebugPanelButton input[type=checkbox]').live('click', function() { -                $.cookie($(this).attr('data-cookie'), 'off', { +                $.cookie($(this).attr('data-cookie'), $(this).prop('checked') ? 'on' : 'off', {                      path: '/', -                    expires: $(this).prop('checked') ? -1 : 10 +                    expires: 10,                  });              });  | 
