Skip to content

Commit 63b6d6a

Browse files
committed
fixed a type in method
1 parent 99b2422 commit 63b6d6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webview-bridge/index.ios.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,23 +282,23 @@ var WebViewBridge = React.createClass({
282282

283283
goForward: function() {
284284
UIManager.dispatchViewManagerCommand(
285-
this.getWebViewHandle(),
285+
this.getWebViewBridgeHandle(),
286286
UIManager.RCTWebViewBridge.Commands.goForward,
287287
null
288288
);
289289
},
290290

291291
goBack: function() {
292292
UIManager.dispatchViewManagerCommand(
293-
this.getWebViewHandle(),
293+
this.getWebViewBridgeHandle(),
294294
UIManager.RCTWebViewBridge.Commands.goBack,
295295
null
296296
);
297297
},
298298

299299
reload: function() {
300300
UIManager.dispatchViewManagerCommand(
301-
this.getWebViewHandle(),
301+
this.getWebViewBridgeHandle(),
302302
UIManager.RCTWebViewBridge.Commands.reload,
303303
null
304304
);
@@ -318,7 +318,7 @@ var WebViewBridge = React.createClass({
318318
}
319319
},
320320

321-
getWebViewHandle: function(): any {
321+
getWebViewBridgeHandle: function(): any {
322322
return React.findNodeHandle(this.refs[RCT_WEBVIEWBRIDGE_REF]);
323323
},
324324

0 commit comments

Comments
 (0)