[vlc-commits] lua http: fix QR Code path separator (fix #8384)

Francois Cartegnie git at videolan.org
Sat Apr 13 14:17:44 CEST 2013


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat Apr 13 14:16:59 2013 +0200| [2c122a47679d76fd557d5cf9cfe6e372fe36ba1e] | committer: Francois Cartegnie

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2c122a47679d76fd557d5cf9cfe6e372fe36ba1e
---

 share/lua/http/js/ui.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/lua/http/js/ui.js b/share/lua/http/js/ui.js
index a1f88c8..a404ef0 100644
--- a/share/lua/http/js/ui.js
+++ b/share/lua/http/js/ui.js
@@ -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'});



More information about the vlc-commits mailing list