diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index f088eaeb1..18dda787f 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -114,6 +114,7 @@ var padeditbar = (function() { var basePath = document.location.href.substring(0, document.location.href.indexOf("/p/")); var readonlyLink = basePath + "/ro/" + clientVars.readOnlyId; + $('#readonlyImage').attr("src","https://chart.googleapis.com/chart?chs=200x200&cht=qr&chld=H|0&chl=" + readonlyLink); $('#readonlyInput').val(readonlyLink); self.toogleDropDown("readonly"); $('#readonlyInput').focus().select();