From: Krinkle Date: Sun, 6 Mar 2011 23:25:33 +0000 (+0000) Subject: Fix for IE7, jQuery magic doesn't help here, it needs to be valid html, shorthand... X-Git-Tag: 1.31.0-rc.0~31584 X-Git-Url: http://git.cyclocoop.org/%22.%24match%5B1%5D.%22?a=commitdiff_plain;h=fc6650bb75d8837eecc02557822431cf0ff44fe4;p=lhc%2Fweb%2Fwiklou.git Fix for IE7, jQuery magic doesn't help here, it needs to be valid html, shorthand doesn't work in all browsers --- 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( '