Index: trunk/extensions/WebFonts/resources/ext.webfonts.js |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | } |
40 | 40 | |
41 | 41 | // Set the web font and the fallback fonts. |
42 | | - // Need to change the fonts of Input Select and Textarea explicitly. |
| 42 | + // font-family of <input>, <select> and <textarea> must be changed explicitly. |
43 | 43 | $( 'body, input, select, textarea' ).css( |
44 | 44 | 'font-family', '"' + font + '", Helvetica, Arial, sans-serif' |
45 | 45 | ); |
— | — | @@ -66,8 +66,8 @@ |
67 | 67 | fontSize: mw.webfonts.oldconfig.fontSize |
68 | 68 | }); |
69 | 69 | |
70 | | - // We need to reset the font family of Input and Select explicitly. |
71 | | - $( 'input, select' ).css( 'font-family', mw.webfonts.oldconfig.fontFamily ); |
| 70 | + // font-family of <input>, <select> and <textarea> must be reset explicitly. |
| 71 | + $( 'input, select, textarea' ).css( 'font-family', mw.webfonts.oldconfig.fontFamily ); |
72 | 72 | |
73 | 73 | // Reset the fonts applied for tags with lang attribute. |
74 | 74 | $( '.webfonts-lang-attr' ).css( 'font-family', '' ).removeClass( 'webfonts-lang-attr' ); |