After rendering input and display settings, refresh webfonts

Because those windows are rendered later. The settings window inherits
fonts. But button in those panels doesn't inherit. Make sure all panel
elements have current font applied.

Change-Id: Ibb8b12b3d973023c49ef89a04d534081bf8ee87f
This commit is contained in:
Santhosh Thottingal
2013-07-02 11:19:32 +05:30
committed by Nikerabbit
parent 1b8d0eb169
commit acbc10c494
2 changed files with 2 additions and 0 deletions

View File

@@ -117,6 +117,7 @@
this.prepareUIFonts(); this.prepareUIFonts();
this.prepareContentFonts(); this.prepareContentFonts();
this.i18n(); this.i18n();
this.$webfonts.refresh();
this.listen(); this.listen();
}, },

View File

@@ -104,6 +104,7 @@
this.prepareLanguages(); this.prepareLanguages();
this.prepareToggleButton(); this.prepareToggleButton();
this.$template.i18n(); this.$template.i18n();
$( 'body' ).data( 'webfonts' ).refresh();
this.listen(); this.listen();
}, },