Skip to content

Commit

Permalink
Fixed something I just broke.
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan 'Wolf' Rentzsch <jwr.git@redshed.net>
  • Loading branch information
Chris Suter authored and rentzsch committed Jul 15, 2009
1 parent 0cec8df commit 62b300b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Plugin/Plugin.m
Expand Up @@ -1392,8 +1392,11 @@ - (void) _convertTypesForFlashContainerAfterDelay
// Remove & reinsert the node to persuade the plugin system to notice the type change:
id parent = [[self container] parentNode];
id successor = [[self container] nextSibling];
[parent removeChild:[self container]];
[parent insertBefore:[self container] refChild:successor];

DOMElement *theContainer = [[self container] retain];
[parent removeChild:theContainer];
[parent insertBefore:theContainer refChild:successor];
[theContainer release];
[self setContainer:nil];
}

Expand Down

0 comments on commit 62b300b

Please sign in to comment.