summaryrefslogtreecommitdiff
path: root/js/quick-post-controls.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/quick-post-controls.js')
-rw-r--r--js/quick-post-controls.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/quick-post-controls.js b/js/quick-post-controls.js
index a9cade95..f9e53be1 100644
--- a/js/quick-post-controls.js
+++ b/js/quick-post-controls.js
@@ -18,7 +18,7 @@ $(document).ready(function(){
var submitButton;
if(this.checked) {
- var post_form = $('<form class="post-actions" method="post" style="margin:4px 0">' +
+ var post_form = $('<form class="post-actions" method="post" style="margin:10px 0 0 0">' +
'<div style="text-align:right">' +
(!thread ? '<hr>' : '') +
@@ -55,6 +55,8 @@ $(document).ready(function(){
return true;
});
+ post_form.find('input[type="password"]').val(localStorage.password);
+
if(thread) {
post_form.prependTo($(this).parent().parent().find('p.body'));
} else {