Show
Ignore:
Timestamp:
10/15/07 09:46:48 (1 year ago)
Author:
timothy
Message:

Add some more checks to prevent the blank chat room bug.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Views/JVStyleView.m

    r3763 r3765  
    686686        [old release]; 
    687687 
    688         [self performSelector:@selector( _checkForTransparantStyle ) withObject:nil afterDelay:0.]; 
     688        if( ! _body ) { 
     689                // try again soon, the DOM is not ready yet 
     690                [self performSelector:@selector( _contentFrameIsReady ) withObject:nil afterDelay:0.5]; 
     691                return; 
     692        } 
     693 
     694        [self _checkForTransparantStyle]; 
    689695 
    690696        [self setPreferencesIdentifier:[[self style] identifier]];