summaryrefslogtreecommitdiff
path: root/js/quick-reply.js
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-15 07:40:49 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-15 07:40:49 +1000
commit841dbaef9050a80c4dcf13cd71ef6daf27ad4c72 (patch)
treee3ed2825c20460c2706f8d539fc58075cc9e08d8 /js/quick-reply.js
parent07666f2a3f1f1446fc5b90ffb405456651de8749 (diff)
yeah?
Diffstat (limited to 'js/quick-reply.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());
});
};