diff options
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); -}); |