(bug 34876) improve $.makeCollapsible performance on the initial collapsing
authorMatmaRex <matma.rex@gmail.com>
Sat, 24 Nov 2012 15:54:56 +0000 (16:54 +0100)
committerMatmaRex <matma.rex@gmail.com>
Mon, 10 Dec 2012 16:24:10 +0000 (17:24 +0100)
commit5feb83885885719e7db1896b4c36e51952f85bd4
tree0d8f20c5019a7a9b8dc2f0beb1261f3ed6d0c55c
parent39351beea5510407c34678f829ca087297ed1e5e
(bug 34876) improve $.makeCollapsible performance on the initial collapsing

The logic for it was already present (options.instantHide), but it was
slightly incorrect, causing the instant hiding not to happen under some
circumstances. Unfortunately one of the circumstances was collapsed items
on the watchlist, causing performance issues.

Change-Id: I13313ec4930487566545ede53f25a8e67b9b9f28
resources/jquery/jquery.makeCollapsible.js