User:Canadabonk/common.js: Difference between revisions
Content deleted Content added
Canadabonk (talk | contribs) No edit summary |
Canadabonk (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
stickytoc.find('a').click(function(){ |
stickytoc.find('a').click(function(){ |
||
stickytoc.fadeOut(200); |
stickytoc.fadeOut(200); |
||
}); |
|||
$('body').not('.ct-stickytoc').click(function() { |
|||
if (! stickytoc.attr('style')) { |
|||
stickytoc.fadeOut(200); |
|||
} |
|||
}); |
}); |
||
} |
} |