1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-08-24 01:03:25 +02:00
This commit is contained in:
Pomax
2017-02-16 10:23:21 -08:00
parent 75fb647215
commit 15d1c211c6

View File

@@ -216,7 +216,10 @@
var lpos = lang.indexOf(ms);
var linfix = '';
if (lpos !== -1) {
linfix = "." + lang.substring(lpos + ms.length);
let lcode = lang.substring(lpos + ms.length);
if (lcode !== 'en-GB') {
linfix = "." + lcode
}
}
var s = document.createElement("script");
s.src = "article" + linfix+ ".js?ts=" + Date.now();