summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-04 18:44:50 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-07 02:41:36 -0800
commit45e660378a2efdec34832ccc597cd72f7f8c6430 (patch)
tree2c3ba719e25418297ecc48514467abfcc46d8fda
parent2b2a4e33d2693923b46834ca3072b69d7348f790 (diff)
Unload controllers after presentModal, not before.
-rw-r--r--CyteKit/WebViewController.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm
index 78da1c5..8c9a016 100644
--- a/CyteKit/WebViewController.mm
+++ b/CyteKit/WebViewController.mm
@@ -384,9 +384,9 @@ float CYScrollViewDecelerationRateNormal;
action:@selector(close)
] autorelease]];
- [[self navigationController] presentModalViewController:navigation animated:YES];
-
[delegate_ unloadData];
+
+ [[self navigationController] presentModalViewController:navigation animated:YES];
}
}