You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/12/16 02:07:11 UTC

[2/6] ios commit: CB-10155 - DisallowOverscroll not working

CB-10155 - DisallowOverscroll not working


Project: http://git-wip-us.apache.org/repos/asf/cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ios/commit/8a187bff
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/8a187bff
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/8a187bff

Branch: refs/heads/4.0.x
Commit: 8a187bff65c55e6c0daf67b61c371f03234c2af5
Parents: c586fc2
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Dec 14 15:32:15 2015 -0800
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Dec 15 16:59:42 2015 -0800

----------------------------------------------------------------------
 .../Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ios/blob/8a187bff/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m b/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m
index ef0356c..c283e18 100644
--- a/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m
+++ b/CordovaLib/Classes/Private/Plugins/CDVUIWebViewEngine/CDVUIWebViewEngine.m
@@ -116,7 +116,7 @@
 
     // prevent webView from bouncing
     if (!bounceAllowed) {
-        if ([self.webView respondsToSelector:@selector(scrollView)]) {
+        if ([uiWebView respondsToSelector:@selector(scrollView)]) {
             ((UIScrollView*)[uiWebView scrollView]).bounces = NO;
         } else {
             for (id subview in self.webView.subviews) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org