Brion VIBBER has uploaded a new change for review.
https://gerrit.wikimedia.org/r/158837
Change subject: forgot return
......................................................................
forgot return
Change-Id: If15758ce51478429d22ab13fe181bcf1f95f0abd
---
M wikipedia/View Controllers/WebView/WebViewController.m
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/apps/ios/wikipedia
refs/changes/37/158837/1
diff --git a/wikipedia/View Controllers/WebView/WebViewController.m
b/wikipedia/View Controllers/WebView/WebViewController.m
index 17a8910..eaf0d06 100644
--- a/wikipedia/View Controllers/WebView/WebViewController.m
+++ b/wikipedia/View Controllers/WebView/WebViewController.m
@@ -863,6 +863,7 @@
if ([elementId isEqualToString:@"section_heading_and_content_block_0"]) {
// quick hack special case for top/bottom oddity
[self tocScrollWebViewToPoint:CGPointZero duration:duration
thenHideTOC:hideTOC];
+ return;
}
CGRect r = [self.webView getWebViewRectForHtmlElementWithId:elementId];
if (CGRectIsNull(r)) return;
--
To view, visit https://gerrit.wikimedia.org/r/158837
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: If15758ce51478429d22ab13fe181bcf1f95f0abd
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Brion VIBBER <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits