blob: 5a7ffb6e7ae5dcca10a09cd73e0e652d44f95e1b (
plain) (
blame)
1
2
3
4
5
6
7
8
|
window.browser = window.browser || window.chrome
import localise from "../../assets/javascripts/localise.js"
if (["ar", "iw", "ku", "fa", "ur"].includes(browser.i18n.getUILanguage())) {
document.getElementsByTagName("body")[0].classList.add("rtl")
document.getElementsByTagName("body")[0].dir = "rtl"
}
localise.localisePage()
|