1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-29 17:54:29 +01:00

that didn't work. try this?

This commit is contained in:
Michael Foster 2013-09-15 07:37:57 +10:00
parent b042df3e7a
commit be79c95b8a

View File

@ -142,10 +142,10 @@ var show_quick_reply = function(){
$('#body').val($(this).val());
});
// Synchronise other inputs
$('form[name="post"] input:not([type="submit"]):not([type="password"]):not([type="file"])').bind('change input propertychange', function() {
$('form[name="post"] input:not[type="text"],select').bind('change input propertychange', function() {
$postForm.find('input[name="' + $(this).attr('name') + '"]').val($(this).val());
});
$postForm.find('input:not([type="submit"]):not([type="password"]):not([type="file"])').bind('change input propertychange', function() {
$postForm.find('input[type="text"],select').bind('change input propertychange', function() {
$('form[name="post"] input[name="' + $(this).attr('name') + '"]').val($(this).val());
});
};