Bug 802071 - [l10n] Sometimes, l10n.js does not get loaded properly. r=kaze

This commit is contained in:
Vivien Nicolas 2012-10-31 14:17:43 +01:00
parent 723c0d0266
commit abc02440f1
2 changed files with 2 additions and 1 deletions

View File

@ -83,6 +83,8 @@ SettingsListener.observe('language.current', 'en-US', function(value) {
if (!((new RegExp('^' + value + '[^a-z-_] *[,;]?', 'i')).test(intl))) {
Services.prefs.setCharPref(prefName, value + ', ' + intl);
}
shell.start();
});

View File

@ -11,7 +11,6 @@
sizemode="fullscreen"
#endif
style="background: black; overflow: hidden; width:320px; height:480px"
onload="shell.start();"
onunload="shell.stop();">
<script type="application/javascript" src="chrome://browser/content/settings.js"/>