Commit 142a4f1c by Frédéric

Update CDVInAppBrowser.m

parent 940cb158
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
userAgent = overrideUserAgent; userAgent = overrideUserAgent;
} }
if(appendUserAgent){ if(appendUserAgent){
userAgent = [userAgent stringByAppendingString: appendUserAgent]; userAgent = appendUserAgent;
} }
self.inAppBrowserViewController = [[CDVInAppBrowserViewController alloc] initWithUserAgent:userAgent prevUserAgent:[self.commandDelegate userAgent] browserOptions: browserOptions]; self.inAppBrowserViewController = [[CDVInAppBrowserViewController alloc] initWithUserAgent:userAgent prevUserAgent:[self.commandDelegate userAgent] browserOptions: browserOptions];
self.inAppBrowserViewController.navigationDelegate = self; self.inAppBrowserViewController.navigationDelegate = self;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment