jquery.makeCollapsible: Enable passthru for links in premade toggle
authorMatmaRex <matma.rex@gmail.com>
Thu, 4 Apr 2013 16:36:55 +0000 (18:36 +0200)
committerTimo Tijhof <krinklemail@gmail.com>
Fri, 3 May 2013 14:02:23 +0000 (16:02 +0200)
commit9857630a6488742b7d4b39417a82d5359442d925
treee64aa7c3daf32b73a2543e281ca9a1927cf0de09
parentbfb75bc8e2820beedbbc6fca7b5e9af42b5292de
jquery.makeCollapsible: Enable passthru for links in premade toggle

Clicking on a regular link inside a premande toggle is supposed
to follow the link instead of collapsing/expanding the
appropriate element.

Broken during a rewrite in Id3f457a8 (2638b16c) - the comment
reflected the intended behavior, but the code was wrong.

Regression test included.

Bug: 46848
Change-Id: Id571f8d612e5131845d381121604c2b1116a077f
resources/jquery/jquery.makeCollapsible.js
tests/qunit/suites/resources/jquery/jquery.makeCollapsible.test.js