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 authored and Nikerabbit committed 2013-07-02 10:53:21 +00:00
1 parent 1b8d0eb169
commit acbc10c494
2 files changed
+2

No files matched your search

+1
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();
}, },
+1
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();
}, },