Skip to content

Commit

Permalink
fix js error
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskyblue committed May 22, 2017
1 parent 26cb73d commit 4d21cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ var vm = new Vue({
$('#qrcodeCanvas').empty().qrcode({
text: installURL
});
$("#qrcodeRight a").attr("href", encodeURI(location.origin + encodeURI(pathJoin([location.pathname, name])));
$("#qrcodeRight a").attr("href", encodeURI(location.origin + pathJoin([location.pathname, name])));
$("#qrcode-modal").modal("show");
},
genDownloadURL: function(f) {
Expand Down

0 comments on commit 4d21cd5

Please sign in to comment.