argh, jquery :visible returns true when elem opacity=0 :(

This commit is contained in:
Sanj 2011-08-31 19:36:58 +05:30
parent 888d2d65d6
commit 898c3df19b

View File

@ -14,7 +14,7 @@ $(function() {
$('#searchForm').submit(function(e) {
if (!$('.mapListSection').is(":visible")) {
if (!$('.mapListSection').css("opacity") == '0') {
$('.mapListSection').fadeIn("slow");
}
e.preventDefault();