diff --git a/src/static/js/pad_editbar.js b/src/static/js/pad_editbar.js
index 48fcaab40..d44e5d661 100644
--- a/src/static/js/pad_editbar.js
+++ b/src/static/js/pad_editbar.js
@@ -315,13 +315,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);
}
}