mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-03-03 08:46:09 +01:00
select onchange not oninput (firefox compat)
This commit is contained in:
parent
67ae4314d6
commit
8fcad764bc
@ -149,7 +149,7 @@ $('#tag_add').on('click', function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
var update_fields;
|
var update_fields;
|
||||||
$('#board_type').on('input', update_fields = function() {
|
$('#board_type').on('change', update_fields = function() {
|
||||||
$('.txtboard, .fileboard, .imgboard').hide();
|
$('.txtboard, .fileboard, .imgboard').hide();
|
||||||
$('.'+$('#board_type').val()).show();
|
$('.'+$('#board_type').val()).show();
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user