Index: trunk/extensions/WebFonts/resources/ext.webfonts.js |
— | — | @@ -329,7 +329,7 @@ |
330 | 330 | .append( $menuItemsDiv ); |
331 | 331 | var $link = $( '<a>' ) |
332 | 332 | .prop( 'href', '#' ) |
333 | | - .text( mw.message( 'webfonts-load' ).escaped() ) |
| 333 | + .text( mw.msg( 'webfonts-load' ) ) |
334 | 334 | .attr( 'title', mw.msg( 'webfonts-menu-tooltip' ) ); |
335 | 335 | // This is the fonts link |
336 | 336 | var $li = $( '<li>' ).attr( 'id', 'pt-webfont' ).append( $link ); |
— | — | @@ -339,7 +339,7 @@ |
340 | 340 | $( 'body' ).prepend( $menu ); |
341 | 341 | $li.click( function( event ) { |
342 | 342 | $menuItemsDiv.css( 'left', $li.offset().left ); |
343 | | - if($menu.hasClass( 'open' ) ){ |
| 343 | + if( $menu.hasClass( 'open' ) ){ |
344 | 344 | $menu.removeClass( 'open' ); |
345 | 345 | } else{ |
346 | 346 | $( 'div.open' ).removeClass( 'open' ); |
— | — | @@ -349,7 +349,7 @@ |
350 | 350 | } ); |
351 | 351 | $( 'html' ).click( function() { |
352 | 352 | $menu.removeClass( 'open' ); |
353 | | - }); |
| 353 | + } ); |
354 | 354 | // Workaround for IE bug - ActiveX components like input fields coming on top of everything. |
355 | 355 | // @todo Is there a better solution other than hiding it on hover? |
356 | 356 | if ( $.browser.msie ) { |