From fc6650bb75d8837eecc02557822431cf0ff44fe4 Mon Sep 17 00:00:00 2001 From: Krinkle Date: Sun, 6 Mar 2011 23:25:33 +0000 Subject: [PATCH] Fix for IE7, jQuery magic doesn't help here, it needs to be valid html, shorthand doesn't work in all browsers --- resources/mediawiki.util/mediawiki.util.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/mediawiki.util/mediawiki.util.js b/resources/mediawiki.util/mediawiki.util.js index 26e47248c9..17d3eb2ae6 100644 --- a/resources/mediawiki.util/mediawiki.util.js +++ b/resources/mediawiki.util/mediawiki.util.js @@ -344,7 +344,7 @@ return null; } // Setup the anchor tag - var $link = $( '' ).attr( 'href', href ).text( text ); + var $link = $( '' ).attr( 'href', href ).text( text ); if ( tooltip ) { $link.attr( 'title', tooltip ); } @@ -373,11 +373,11 @@ if ( $ul.length === 0 ) { // If there's no
inside, append it to the portlet directly if ( $portlet.find( 'div:first' ).length === 0 ) { - $portlet.append( '