From 29a12bec58aa4f04f3f49973e45d16156289934a Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 7 May 2014 01:29:37 +0200 Subject: [PATCH] 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