forked from leftypol/leftypol
quick-posts-controls.js: Fill in password automatically.
fix-report-delete-submit.js
This commit is contained in:
parent
6b42c71c79
commit
53f4bf6136
2 changed files with 29 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue