Index: branches/REL1_18/phase3/RELEASE-NOTES-1.18 |
— | — | @@ -15,6 +15,7 @@ |
16 | 16 | * (bug 32228) regression in Special:Search which did not conserve profile on new search |
17 | 17 | * (bug 32460) Categories were improperly aligned in Simple and CologneBlue |
18 | 18 | * (bug 32412) TOC links on [[Special:EditWatchlist]] points to the fieldsets |
| 19 | +* (bug 32582) Fix TOC show/hide link regression on IE 8 |
19 | 20 | |
20 | 21 | === Changes since 1.18 beta 1 === |
21 | 22 | * (bug 31886) Wrong titles redirecting to Special:Badtitle in the 1.18 deployment. |
Index: branches/REL1_18/phase3/resources/mediawiki/mediawiki.util.js |
— | — | @@ -86,13 +86,13 @@ |
87 | 87 | // Only add it if there is a TOC and there is no toggle added already |
88 | 88 | if ( $tocContainer.size() && $tocTitle.size() && !$tocToggleLink.size() ) { |
89 | 89 | var hideTocCookie = $.cookie( 'mw_hidetoc' ); |
90 | | - $tocToggleLink = $( '<a href="#" class="internal" id="togglelink">' ) |
| 90 | + $tocToggleLink = $( '<a href="#" class="internal" id="togglelink"></a>' ) |
91 | 91 | .text( mw.msg( 'hidetoc' ) ) |
92 | 92 | .click( function(e){ |
93 | 93 | e.preventDefault(); |
94 | 94 | util.toggleToc( $(this) ); |
95 | 95 | } ); |
96 | | - $tocTitle.append( $tocToggleLink.wrap( '<span class="toctoggle">' ).parent().prepend( ' [' ).append( '] ' ) ); |
| 96 | + $tocTitle.append( $tocToggleLink.wrap( '<span class="toctoggle"></span>' ).parent().prepend( ' [' ).append( '] ' ) ); |
97 | 97 | |
98 | 98 | if ( hideTocCookie == '1' ) { |
99 | 99 | // Cookie says user want toc hidden |