r108390 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108389‎ | r108390 | r108391 >
Date:08:47, 9 January 2012
Author:santhosh
Status:ok (Comments)
Tags:
Comment:
Fix the download link of font.
Modified paths:
  • /trunk/extensions/WebFonts/resources/ext.webfonts.preview.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WebFonts/resources/ext.webfonts.preview.js
@@ -13,7 +13,7 @@
1414 $previewBox.css( 'font-size', parseInt( $( 'select#webfonts-size-chooser' ).val(), 10 ) );
1515 var fontconfig = mw.webfonts.config.fonts[font];
1616 var base = mw.config.get( 'wgExtensionAssetsPath' ) + '/WebFonts/fonts/';
17 - $downloadLink.prop( 'href', base + 'fontconfig.ttf' ).removeClass( 'disabled' );
 17+ $downloadLink.prop( 'href', base + fontconfig.ttf ).removeClass( 'disabled' );
1818 return true;
1919 };
2020

Comments

#Comment by Nikerabbit (talk | contribs)   08:51, 9 January 2012

Looks like I broke this accidentally.

Status & tagging log