mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 23:45:52 +00:00
fix animation lack in FF prevents Popover to close
This commit is contained in:
1 parent
0246d501e2
commit
3d62791477
1 file changed
+1
-1
@@ -478,7 +478,7 @@ CPPopoverAppearanceHUD = 1;
|
||||
*/
|
||||
- (void)close
|
||||
{
|
||||
if (_animates)
|
||||
if (_animates && typeof(_DOMElement.style.WebkitTransform) != "undefined")
|
||||
{
|
||||
_DOMElement.style.opacity = 0;
|
||||
var transitionEndFunction = function(){
|
||||
|
||||
Reference in new issue
Block a user