summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/quick-reply.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/quick-reply.js b/js/quick-reply.js
index d2d201de..0abf4be3 100644
--- a/js/quick-reply.js
+++ b/js/quick-reply.js
@@ -143,10 +143,10 @@ var show_quick_reply = function(){
});
// Synchronise other inputs
$('form[name="post"] input[type="text"],select').bind('change input propertychange', function() {
- $postForm.find('input[name="' + $(this).attr('name') + '"]').val($(this).val());
+ $postForm.find('[name="' + $(this).attr('name') + '"]').val($(this).val());
});
$postForm.find('input[type="text"],select').bind('change input propertychange', function() {
- $('form[name="post"] input[name="' + $(this).attr('name') + '"]').val($(this).val());
+ $('form[name="post"] [name="' + $(this).attr('name') + '"]').val($(this).val());
});
};