mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-15 21:14:29 +00:00
fixed: dom error
This commit is contained in:
1 parent
b70abb730d
commit
dc4aa545f0
1 file changed
+4
@@ -5557,10 +5557,12 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
// Ensure the text turns white
|
||||
[self _updateDataViewsFocusState];
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
// for symmetry with _notifyViewDidResignFirstResponder
|
||||
setTimeout(function() {
|
||||
[self _updateSelectedColumnBackgrounds];
|
||||
}, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
- (void)_notifyViewDidResignFirstResponder
|
||||
@@ -5570,10 +5572,12 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
|
||||
// Ensure the text turns black
|
||||
[self _updateDataViewsFocusState];
|
||||
|
||||
#if PLATFORM(DOM)
|
||||
// needed because _isFocussed still returns true in this iteration of the run loop
|
||||
setTimeout(function() {
|
||||
[self _updateSelectedColumnBackgrounds];
|
||||
}, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in new issue
Block a user