r95844 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95843‎ | r95844 | r95845 >
Date:10:04, 31 August 2011
Author:nikerabbit
Status:ok
Tags:
Comment:
Fixing a check for unknown fonts, pointed out by dantman
Modified paths:
  • /trunk/extensions/WebFonts/js/webfonts.js (modified) (history)

Diff [purge]

Index: trunk/extensions/WebFonts/js/webfonts.js
@@ -13,7 +13,7 @@
1414 return;
1515 }
1616
17 - if ( !font in $.webfonts.config.fonts ) {
 17+ if ( !(font in $.webfonts.config.fonts) ) {
1818 console.log( "Requested unknown font", font );
1919 return;
2020 }

Sign-offs

UserFlagDate
Dantmaninspected10:05, 31 August 2011

Status & tagging log