Empty commit

This commit is contained in:
Git 2014-04-18 08:00:42 +00:00
parent bdaeee4670
commit f355dd793e

View File

@ -272,12 +272,13 @@ function CheckYear() {
if (media == "---" || media == "Vinyl" || media == "Soundboard" || media == "Cassette") { if (media == "---" || media == "Vinyl" || media == "Soundboard" || media == "Cassette") {
media = "old"; media = "old";
} }
var x = $('#year').raw(); var year = $('#year').val();
if (x.value < 1982 && x.value != '' && media != "old" && !$('#unknown').raw().checked) { var unknown = $('#unknown').prop('checked');
if (year < 1982 && year != '' && media != "old" && !unknown) {
$('#yearwarning').gshow(); $('#yearwarning').gshow();
$('#remaster').raw().checked = true; $('#remaster').raw().checked = true;
$('#remaster_true').gshow(); $('#remaster_true').gshow();
} else if ($('#unknown').raw().checked) { } else if (unknown) {
$('#remaster').raw().checked = true; $('#remaster').raw().checked = true;
$('#yearwarning').ghide(); $('#yearwarning').ghide();
$('#remaster_true').gshow(); $('#remaster_true').gshow();