Merge branch 'bug_9335' into 3.12-master

This commit is contained in:
Jared Camins-Esakov 2013-01-07 21:13:11 -05:00
commit 11341ec0a0

View file

@ -84,9 +84,9 @@ var humanMsg = {
.unbind('click', humanMsg.removeMsg)
.unbind('keypress', humanMsg.removeMsg)
// If message is fully transparent, fade it out
if (jQuery('#'+humanMsg.msgID).css('opacity') == humanMsg.msgOpacity)
jQuery('#'+humanMsg.msgID).animate({ opacity: 0 }, 500, function() { jQuery(this).hide() })
// If message is fully transparent, fade it out
if ( Math.abs(jQuery('#'+humanMsg.msgID).css('opacity') - humanMsg.msgOpacity ) < 0.00001 )
jQuery('#'+humanMsg.msgID).animate({ opacity: 0 }, 500, function() { jQuery(this).hide() })
}
};