diff --git a/Examples/UIExplorer/WebViewExample.js b/Examples/UIExplorer/WebViewExample.js index 6654551ad..1b5f836df 100644 --- a/Examples/UIExplorer/WebViewExample.js +++ b/Examples/UIExplorer/WebViewExample.js @@ -163,7 +163,7 @@ var WebViewExample = React.createClass({ var Button = React.createClass({ _handlePress: function() { - if (this.props.enabled && this.props.onPress) { + if (this.props.enabled !== false && this.props.onPress) { this.props.onPress(); } }, @@ -182,19 +182,19 @@ var ScaledWebView = React.createClass({ getInitialState: function() { return { - scalingEnabled: true + scalingEnabled: true, } }, render: function() { return ( - + @@ -307,7 +307,7 @@ const HTML = ` Hello Static World - +