fix animation lack in FF prevents Popover to close

This commit is contained in:
Antoine Mercadal committed 2011-07-09 11:50:52 +02:00
1 parent 0246d501e2
commit 3d62791477
1 file changed
+1 -1
+1 -1
View File
@@ -478,7 +478,7 @@ CPPopoverAppearanceHUD = 1;
*/
- (void)close
{
if (_animates)
if (_animates && typeof(_DOMElement.style.WebkitTransform) != "undefined")
{
_DOMElement.style.opacity = 0;
var transitionEndFunction = function(){