We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55b6687 commit b9befc3Copy full SHA for b9befc3
jquery.nestedlist.src.js
@@ -26,11 +26,11 @@ jQuery.fn.nestedList = function(config) {
26
function linkWholeContainerForLeafItems(container, linkSelector) {
27
// link whole container area for hyperlinks in leaf items
28
container.find(linkSelector || ".leaf a:first-of-type").each(function () {
29
- //var hlink = $(this);
30
- //hlink.parents(".leaf:first()").click(function () {
31
- // document.location.href = hlink.attr('href');
32
- // return false
33
- //}).css('cursor', 'pointer')
+ var hlink = $(this);
+ hlink.parents(".leaf:first").click(function () {
+ document.location.href = hlink.attr('href');
+ return false
+ }).css('cursor', 'pointer')
34
});
35
}
36
0 commit comments