diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2018-03-09 13:38:23 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2018-03-09 13:38:23 +0100 |
commit | 8da3b6f8e31e1c9cf40e3f5ffd25316d5bce5944 (patch) | |
tree | a063ba34996e4754274bbcd28c104edb380717a9 /www/swiftstory-config.js | |
parent | 899b6558513e9d5920a1525aefb9e3ac21349142 (diff) |
moved webapp files in the usr/share/swiftstory dir
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
Diffstat (limited to 'www/swiftstory-config.js')
-rw-r--r-- | www/swiftstory-config.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/www/swiftstory-config.js b/www/swiftstory-config.js deleted file mode 100644 index 9a6be3c..0000000 --- a/www/swiftstory-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'; - } - - swst.set_lang(lang); -}); |