1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-03-02 16:33:49 +01:00

select onchange not oninput (firefox compat)

This commit is contained in:
czaks 2015-04-25 03:02:52 +02:00
parent 67ae4314d6
commit 8fcad764bc

View File

@ -149,7 +149,7 @@ $('#tag_add').on('click', function() {
});
var update_fields;
$('#board_type').on('input', update_fields = function() {
$('#board_type').on('change', update_fields = function() {
$('.txtboard, .fileboard, .imgboard').hide();
$('.'+$('#board_type').val()).show();
});