diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js index 95d195058..7335dfc5d 100644 --- a/src/static/js/pad_editbar.js +++ b/src/static/js/pad_editbar.js @@ -237,7 +237,7 @@ var padeditbar = (function() if ($('#readonlyinput').is(':checked')) { var basePath = document.location.href.substring(0, document.location.href.indexOf("/p/")); - var readonlyLink = basePath + "/ro/" + clientVars.readOnlyId; + var readonlyLink = basePath + "/p/" + clientVars.readOnlyId; $('#embedinput').val("