From ecb763213c5e033315a6b996d3b28e76fcefe31c Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 16 Jan 2017 10:34:19 +0000 Subject: [PATCH] #1092 --- fluidbook/compile/_js/fluidbook.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fluidbook/compile/_js/fluidbook.js b/fluidbook/compile/_js/fluidbook.js index 495d17269..b68552476 100644 --- a/fluidbook/compile/_js/fluidbook.js +++ b/fluidbook/compile/_js/fluidbook.js @@ -212,9 +212,13 @@ function redirectMobile() { } } var pageNr = 0; + var lang = ''; if (get.page != undefined) { pageNr = parseInt(get.page); } + if (get.lang != undefined) { + lang = '?lang=' + get.lang; + } if (window.location.hash != '') { var e = window.location.hash.split('/'); var pnr = parseInt(e[1]); @@ -228,7 +232,7 @@ function redirectMobile() { } setTimeout(function () { - window.location = 'm/' + html + page; + window.location = 'm/' + html + lang + page; }, 10); } -- 2.39.5