mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-29 16:19:58 +09:00
issue 522 memory collapsing stat in cookie
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9672 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6e3f1b1aa0
commit
ca72163edd
2 changed files with 4 additions and 1 deletions
|
|
@ -201,9 +201,12 @@ $('form.siteMap')
|
|||
|
||||
$('a.tgMap').click(function() {
|
||||
var $this = $(this);
|
||||
var curToggleStatus = getCookie('sitemap_toggle_'+$this.attr('href'));
|
||||
var toggleStatus = curToggleStatus == 1 ? '0' : 1;
|
||||
|
||||
$($this.attr('href')).slideToggle('fast');
|
||||
$this.closest('.siteMap').toggleClass('fold');
|
||||
setCookie('sitemap_toggle_'+$this.attr('href'), toggleStatus);
|
||||
|
||||
return false;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue