diff --git a/static/css/pad.css b/static/css/pad.css index 0101e7c10..6be1bf11b 100644 --- a/static/css/pad.css +++ b/static/css/pad.css @@ -786,11 +786,15 @@ padding: 10px; border-radius: 6px; } +#embedreadonly { +float:right; +} + #embedcode, #readonlyUrl, #linkcode { margin-left:10px; } -#embedinput, #readonlyInput, #linkinput, #rolinkinput, #roembedinput { +#embedinput, #readonlyInput, #linkinput { width:375px; height:24px; display:inline; diff --git a/static/js/pad_editbar.js b/static/js/pad_editbar.js index f78e33fa5..d1a606156 100644 --- a/static/js/pad_editbar.js +++ b/static/js/pad_editbar.js @@ -99,16 +99,8 @@ var padeditbar = (function() self.toogleDropDown("users"); } else if (cmd == 'embed') - { - var padurl = window.location.href.split("?")[0]; - $('#embedinput').val("