Remove id selector for toctitle
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.toc.js
index 9ef6c43..53e8d93 100644 (file)
@@ -6,9 +6,7 @@
                $content.find( '.toc' ).addBack( '.toc' ).each( function () {
                        var hideToc,
                                $this = $( this ),
-                               // .toctitle is new so may not exist in HTML caches for a few weeks,
-                               // so keep checking for #toctitle for now
-                               $tocTitle = $this.find( '.toctitle, #toctitle' ),
+                               $tocTitle = $this.find( '.toctitle' ),
                                $tocToggleLink = $this.find( '.togglelink' ),
                                $tocList = $this.find( 'ul' ).eq( 0 );