mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-25 20:00:42 +00:00
Merge pull request #2137 from Asriwi/fix-popover-close-exception
Fixed: CPPopover not closing in some browsers
This commit is contained in:
@@ -588,7 +588,8 @@ var _CPPopoverWindow_shouldClose_ = 1 << 4,
|
||||
{
|
||||
// Make absolutely sure no dangling event listeners are left
|
||||
#if PLATFORM(DOM)
|
||||
_DOMElement.removeEventListener(CPBrowserStyleProperty("transitionend"), _orderOutTransitionFunction, YES);
|
||||
if (_animates && _browserAnimates)
|
||||
_DOMElement.removeEventListener(CPBrowserStyleProperty("transitionend"), _orderOutTransitionFunction, YES);
|
||||
#endif
|
||||
|
||||
[self _removeFrameObserver];
|
||||
|
||||
Reference in New Issue
Block a user