From: Timo Tijhof Date: Tue, 6 May 2014 23:29:37 +0000 (+0200) Subject: mediawiki.toc: Clean up left overs X-Git-Tag: 1.31.0-rc.0~15854 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=29a12bec58aa4f04f3f49973e45d16156289934a;p=lhc%2Fweb%2Fwiklou.git mediawiki.toc: Clean up left overs Follows-up d7a40c8 which creates the mediawiki.toc module and moved the tocToggle method from mediawiki.util. The tocToggle callback used to be a public method and therefore had two things about that that are obsolete: * Taking the toggle as parameter. This is a private method now, and we already have a reference to the toggle. * Asserting that the #toc has an