Commit 2c122a47 authored by Francois Cartegnie's avatar Francois Cartegnie

lua http: fix QR Code path separator (fix #8384)

parent cd929de4
......@@ -100,7 +100,7 @@ $(function () {
{
return true;
}
var urlimg = location.href + '/mobile.html';
var urlimg = location.href + 'mobile.html';
var codeimg = $('<img width="350" height="350" alt="qrcode"/>');
codeimg.attr('src', 'http://chart.apis.google.com/chart?cht=qr&chs=350x350&chld=L&choe=UTF-8&chl=' + encodeURIComponent(urlimg));
codeimg.dialog({width: 350, height: 350, title: 'QR-Code'});
......
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