Commit 4a1b6980 authored by Pierre Arnaud's avatar Pierre Arnaud

Fix detection language error with chromium

parent 0ac08c92
......@@ -27,7 +27,7 @@ UrbanTransportsPerimeterOfFrance
$("#label-state-geolocalisation").hide();
$("#term").select2({
//theme: "classic",
language: navigator.language.split('-')[0],
language: navigator.languages[0].split('-')[0],
ajax: {
url: territoria_api +
"autocomplete-territory?" +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment