]> git.sesse.net Git - vlc/commitdiff
lua http: fix QR Code path separator (fix #8384)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 13 Apr 2013 12:16:59 +0000 (14:16 +0200)
committerFrancois Cartegnie <fcvlcdev@free.fr>
Sat, 13 Apr 2013 12:17:13 +0000 (14:17 +0200)
share/lua/http/js/ui.js

index a1f88c881e36300d50df9d09a480afc8d94a97fe..a404ef0ef847c7259dc8bf1398b525e19a111e4a 100644 (file)
@@ -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'});