これがchromeとfirefoxによって読み取られた同じ.jsファイルです...(最新バージョン)誰もが違いを見ることができますか?Firefoxは「fadeTo」を「fadeOut」と「fadeIn」に変更します。私が書いた元のスクリプトはfadeToです。なぜこれが起こっているのですか?
Firefox:
$('document').ready(function(){
$('#errors').css('display', 'none');
$('#errors').fadeIn('fast');
if ($('#errors').length){
$('#content').fadeOut('slow');
}
$('#container').click(function(){
$('#errors').fadeOut('slow');
$('#content').fadeIn('fast');
});
});
クロム:
$('document').ready(function(){
$('#errors').css('display', 'none');
$('#errors').fadeIn('slow');
if ($('#errors').length){
$('#content').fadeTo('slow', 0.5);
}
$('#container').click(function(){
$('#errors').fadeOut('fest');
$('#content').fadeTo('slow', 1.0);
});
});