Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add # to href open/close

  • Loading branch information...
commit 65738e277df6f0bd9282c65df5ce8d53ab36a31a 1 parent a016e4d
Enrico authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 index.html
6 index.html
View
@@ -10,11 +10,9 @@
$('ul.telefilms').tree({default_expanded_paths_string : '0/0/0,0/0/2,0/2/4'});
$('.expand_button').on('click', function() {
$('ul.telefilms.first').expand('none');
- return false;
});
$('.collapse_button').on('click', function() {
$('ul.telefilms.first').collapse();
- return false;
});
});
</script>
@@ -25,8 +23,8 @@
<div>
- <a href="" class="expand_button">Open all</a>
- <a href="" class="collapse_button">Close all</a>
+ <a href="#" class="expand_button">Open all</a>
+ <a href="#" class="collapse_button">Close all</a>
<ul class="telefilms first" data-cookie="cookie1"> <!-- Use 'cookie1' as unique key to save cookie only for this tree -->
<li>
Please sign in to comment.
Something went wrong with that request. Please try again.