Repository: cordova-ios
Updated Branches:
  refs/heads/master d3c551971 -> fc883da84


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/fc883da8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ios/tree/fc883da8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ios/diff/fc883da8

Branch: refs/heads/master
Commit: fc883da8434751d9cd83d6e4eb02f42b7f598e02
Parents: d3c5519
Author: Shazron Abdullah <[email protected]>
Authored: Mon Dec 14 15:32:15 2015 -0800
Committer: Shazron Abdullah <[email protected]>
Committed: Mon Dec 14 15:32:15 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/fc883da8/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to