diff options
Diffstat (limited to 'webapp/cao-config.js')
-rw-r--r-- | webapp/cao-config.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/webapp/cao-config.js b/webapp/cao-config.js deleted file mode 100644 index ddfe0fc..0000000 --- a/webapp/cao-config.js +++ /dev/null @@ -1,13 +0,0 @@ -$(document).ready(function() { - var lang; - var hostname = document.location.hostname; - - /* XXX replace this with your desired behaviour */ - if (hostname.substring(0, 3) === 'fr.') { - lang = 'fr'; - } else if (hostname.substring(0, 3) === 'en.') { - lang = 'en'; - } - - cao.set_lang(lang); -}); |