diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js index ba2171b0d..04660e88a 100644 --- a/src/static/js/pad_editbar.js +++ b/src/static/js/pad_editbar.js @@ -288,13 +288,13 @@ var padeditbar = (function() { var basePath = document.location.href.substring(0, document.location.href.indexOf("/p/")); var readonlyLink = basePath + "/p/" + clientVars.readOnlyId; - $('#embedinput').val(''); + $('#embedinput').val(''); $('#linkinput').val(readonlyLink); } else { var padurl = window.location.href.split("?")[0]; - $('#embedinput').val(''); + $('#embedinput').val(''); $('#linkinput').val(padurl); } },