Fixes rtl languages
This commit is contained in:
parent
261f92ebd1
commit
72ec5d070b
4 changed files with 127 additions and 55 deletions
|
@ -1541,6 +1541,10 @@ function selectScaleOption(value) {
|
|||
return predefinedValueFound;
|
||||
}
|
||||
|
||||
window.addEventListener('localized', function localized(evt) {
|
||||
document.getElementsByTagName('html')[0].dir = mozL10n.language.direction;
|
||||
}, true);
|
||||
|
||||
window.addEventListener('scalechange', function scalechange(evt) {
|
||||
var customScaleOption = document.getElementById('customScaleOption');
|
||||
customScaleOption.selected = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue