taler-www

Main taler.net website
Log | Files | Refs | Submodules | README | LICENSE

commit d5c46901b0f0e29db006cc9a93d5231f9f47c56c
parent 0e6c0504ecf6011af72a6b30cf1904c94f3568c2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 22 Oct 2022 20:03:41 +0200

-fix chrome version check

Diffstat:
Mtemplate/wallet.html.j2 | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/template/wallet.html.j2 b/template/wallet.html.j2 @@ -53,7 +53,7 @@ function onLoad() { document.getElementById("error-chrome").style.display = "inherit"; } else { var m = navigator.userAgent.match(/Chrome\/([0-9.]+)/); - if (null == m || m[1] < chrome_min_version) { + if (null == m || m[1].split('.')[0] < chrome_min_version) { document.getElementById('chrome-min-version').appendChild(document.createTextNode(chrome_min_version)); document.getElementById('error-chrome-version').style.display = "inherit"; } @@ -138,7 +138,7 @@ document.addEventListener('DOMContentLoaded', onLoad); {% trans %} directory {% endtrans %} - </a>. + </a>.<br> </div> </div> <!-- /row -->